@@ -52,23 +52,19 @@ jobs:
52
52
python setup.py develop
53
53
cd ../pysatNASA
54
54
pip install .
55
-
56
55
- name : Install NEP29 dependencies
57
56
if : ${{ matrix.test_config == 'NEP29'}}
58
57
run : |
59
58
pip install numpy==${{ matrix.numpy_ver }}
60
59
pip install --upgrade-strategy only-if-needed .[test]
61
-
62
60
- name : Install standard dependencies
63
61
if : ${{ matrix.test_config == 'latest'}}
64
62
run : |
65
63
pip install .[test]
66
-
67
64
- name : Set up pysat
68
65
run : |
69
66
mkdir pysatData
70
67
python -c "import pysat; pysat.params['data_dirs'] = 'pysatData'"
71
-
72
68
- name : Test PEP8 compliance
73
69
run : flake8 . --count --select=D,E,F,H,W --show-source --statistics
74
70
86
82
run : |
87
83
curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz
88
84
./coveralls report --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} --build-number ${{ github.run_number }}
89
-
90
85
- name : Coveralls Parallel (Windows)
91
86
if : startsWith(matrix.os, 'windows')
92
87
env :
@@ -95,19 +90,13 @@ jobs:
95
90
run : |
96
91
curl -L https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-windows.exe -o coveralls.exe
97
92
./coveralls.exe report --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} --build-number ${{ github.run_number }}
98
-
99
- - name : Coveralls Parallel (MacOS)
93
+ - name : Publish results to coveralls (MacOS)
100
94
if : startsWith(matrix.os, 'macos')
101
95
env :
102
96
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
103
97
COVERALLS_PARALLEL : true
104
98
run : |
105
- brew tap coverallsapp/coveralls --quiet
106
- brew install coveralls --quiet
107
- ls -lh .coverage
108
- ls -lh coverage.xml
109
- coveralls report coverage.xml --format=cobertura --verbose --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} --build-number ${{ github.run_number }} --debug --dry-run
110
-
99
+ coveralls --rcfile=pyproject.toml --service=github
111
100
finish :
112
101
name : Finish Coverage Analysis
113
102
needs : build
@@ -120,4 +109,4 @@ jobs:
120
109
COVERALLS_PARALLEL : true
121
110
run : |
122
111
curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz
123
- ./coveralls done --build-number ${{ github.run_number }}
112
+ ./coveralls done --build-number ${{ github.run_number }}
0 commit comments