File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414jobs :
1515 build :
16- runs-on : ubuntu-latest
16+ runs-on : ${{ matrix.os }}
1717 timeout-minutes : 180
1818 strategy :
19+ fail-fast : false
1920 matrix :
2021 python-version : [3.8]
22+ os : [ubuntu-latest, macos-latest, windows-latest]
2123
2224 steps :
2325 - uses : actions/checkout@v2
@@ -49,10 +51,16 @@ jobs:
4951 USERNAME : ${{ secrets.USERNAME }}
5052 SCRAPER_API_KEY : ${{ secrets.SCRAPER_API_KEY }}
5153 run : |
52- curl --data-binary @.github/.codecov.yml https://codecov.io/validate | head -n 1
5354 coverage run -m unittest -v test_module.TestScholarly
5455 coverage xml
56+ - name : Validate the repository yaml for codecov
57+ if :
58+ " matrix.os == 'ubuntu-latest'"
59+ run :
60+ curl --data-binary @.github/.codecov.yml https://codecov.io/validate | head -n 1
5561 - name : Upload code coverage
62+ if :
63+ " matrix.os != 'windows-latest'"
5664 uses : codecov/codecov-action@v2
5765 with :
5866 directory : ./
You can’t perform that action at this time.
0 commit comments