@@ -17,15 +17,14 @@ jobs:
17
17
18
18
run-tests :
19
19
20
- name : Run tests for ${{ matrix.os }} on ${{ matrix.python-version }} and ${{ matrix.r-version }}
20
+ name : Run tests for ${{ matrix.os }} on ${{ matrix.python-version }}
21
21
runs-on : ${{ matrix.os }}
22
22
23
23
strategy :
24
24
fail-fast : false
25
25
matrix :
26
26
os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
27
27
python-version : ['3.7', '3.8', '3.9', '3.10']
28
- r-version : ['3.6.3']
29
28
30
29
steps :
31
30
- uses : actions/checkout@v2
@@ -45,29 +44,15 @@ jobs:
45
44
run : tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
46
45
47
46
- name : Upload coverage report for unit tests and doctests.
48
- if : runner.os == 'Linux' && matrix.python-version == '3.9' && matrix.r-version == '3.6.3'
47
+ if : runner.os == 'Linux' && matrix.python-version == '3.9'
49
48
shell : bash -l {0}
50
49
run : bash <(curl -s https://codecov.io/bash) -F unit -c
51
50
52
- # - name: Run integration tests.
53
- # shell: bash -l {0}
54
- # run: tox -e pytest -- -m integration --cov=./ --cov-report=xml -n auto
55
-
56
- # - name: Upload coverage reports of integration tests.
57
- # if: runner.os == 'Linux' && matrix.python-version == '3.9' && matrix.r-version == '3.6.3'
58
- # shell: bash -l {0}
59
- # run: bash <(curl -s https://codecov.io/bash) -F integration -c
60
-
61
51
- name : Run end-to-end tests.
62
52
shell : bash -l {0}
63
53
run : tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
64
54
65
55
- name : Upload coverage reports of end-to-end tests.
66
- if : runner.os == 'Linux' && matrix.python-version == '3.9' && matrix.r-version == '3.6.3'
56
+ if : runner.os == 'Linux' && matrix.python-version == '3.9'
67
57
shell : bash -l {0}
68
58
run : bash <(curl -s https://codecov.io/bash) -F end_to_end -c
69
-
70
- - name : Validate codecov.yml
71
- if : runner.os == 'Linux' && matrix.python-version == '3.9' && matrix.r-version == '3.6.3'
72
- shell : bash -l {0}
73
- run : cat codecov.yml | curl --data-binary @- https://codecov.io/validate
0 commit comments