@@ -13,10 +13,10 @@ defaults:
1313
1414jobs :
1515 test :
16- runs-on : ubuntu -latest
16+ runs-on : macos -latest
1717 strategy :
1818 matrix :
19- version : ["3.8", "3.9", "3.10", "3.11"]
19+ version : ["3.8", "3.9", "3.10", "3.11", "3.12" ]
2020 steps :
2121
2222 - name : Check out the commit
@@ -39,17 +39,17 @@ jobs:
3939 - name : Test install
4040 run : python3 -m pip install .
4141
42- # - name: Test with pytest
43- # run: python3 -m pytest --cov=shell_logger example/ test/
44-
45- # - name: Upload coverage reports to Codecov
46- # uses: codecov/codecov-action@v3
47- # env:
48- # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
42+ - name : Test with pytest
43+ uses : nick-fields/retry@v3
44+ with :
45+ timeout_minutes : 10
46+ max_attempts : 3
47+ command : python3 -m pytest --verbose --cov=shell_logger test/
4948
50- - name : Check documentation spelling
51- run : make spelling SPHINXOPTS="-W --keep-going"
52- working-directory : ./doc
49+ - name : Upload coverage reports to Codecov
50+ uses : codecov/codecov-action@v3
51+ env :
52+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5353
5454 - name : Check documentation coverage
5555 run : make coverage SPHINXOPTS="-W --keep-going"
0 commit comments