@@ -15,31 +15,29 @@ jobs:
1515 steps :
1616 - name : Checkout repository
1717 uses : actions/checkout@v2
18- - name : Setup Python 3.8
18+ - name : Setup Python 3.12
1919 uses : actions/setup-python@v2
2020 with :
21- python-version : " 3.8 "
21+ python-version : " 3.12 "
2222 - name : Install Poetry
23232424 with :
25- poetry-version : 1.1.13
25+ poetry-version : 1.8.5
2626 - name : Setup Poetry
2727 run : |
2828 poetry config virtualenvs.create true
2929 poetry config virtualenvs.in-project true
3030 poetry env info
3131 - name : Install dependencies
3232 run : poetry install --no-interaction --no-ansi
33- - name : Lint code
34- run : poetry run task lint --check
33+ # - name: Lint code
34+ # run: poetry run task lint --check
3535 - name : Lint writing
3636 uses : actionshub/markdownlint@main
3737
3838 test :
3939 # Test uses a strategy matrix to ensure that sufficient platform test
40- # coverage is reached. For this configuration, we run the latest Ubuntu
41- # image with Python 3.6 and 3.9, while also including MacOS + Python 3.8 and
42- # Windows + Python 3.7. With this spread, we achieve testing of four
40+ # coverage is reached. With this spread, we achieve testing of four
4341 # different Python versions and three operating systems without running the
4442 # full twelve possible combinations, greatly reducing load and usage.
4543 name : Test
@@ -51,12 +49,12 @@ jobs:
5149 fail-fast : false
5250 matrix :
5351 os : [ubuntu-latest]
54- python-version : ["3.7 ", "3.10 "]
52+ python-version : ["3.10 ", "3.12 "]
5553 include :
5654 - os : macos-latest
5755 python-version : " 3.9"
5856 - os : windows-latest
59- python-version : " 3.8 "
57+ python-version : " 3.11 "
6058 env :
6159 # These environment variables are passed to CodeCov to identify each build
6260 OS : ${{ matrix.os }}
@@ -71,15 +69,17 @@ jobs:
7169 - name : Install Poetry
72707371 with :
74- poetry-version : 1.1.13
72+ poetry-version : 1.8.5
7573 - name : Setup Poetry
7674 run : |
7775 poetry config virtualenvs.create true
7876 poetry config virtualenvs.in-project true
7977 poetry env info
8078 - name : Install dependencies
8179 run : poetry install --no-interaction --no-ansi
82- - name : Execute tests
80+ - name : Run the test suite
81+ run : poetry run pytest
82+ - name : Collect test coverage
8383 # We need to ensure that the cover-win script is run for Windows, so
8484 # this Action runs different commands based on the runner's operating
8585 # system.
@@ -88,10 +88,10 @@ jobs:
8888 linux : poetry run task cover
8989 macos : poetry run task cover
9090 windows : poetry run task cover-win
91- - name : Upload coverage
92- uses : codecov/codecov-action@v1
93- with :
94- files : ./coverage.xml
95- flags : unittests
96- env_vars : OS,PYTHON
97- fail_ci_if_error : true
91+ # - name: Upload coverage
92+ # uses: codecov/codecov-action@v1
93+ # with:
94+ # files: ./coverage.xml
95+ # flags: unittests
96+ # env_vars: OS,PYTHON
97+ # fail_ci_if_error: true
0 commit comments