@@ -40,23 +40,23 @@ jobs:
4040 ignore-test-outcome : false
4141 - python-version : " 3.10"
4242 toxfactor : py3.10
43- ignore-typecheck-outcome : true
43+ ignore-typecheck-outcome : false
4444 ignore-test-outcome : false
4545 - python-version : " 3.11"
4646 toxfactor : py3.11
47- ignore-typecheck-outcome : true
47+ ignore-typecheck-outcome : false
4848 ignore-test-outcome : false
4949 - python-version : " 3.12"
5050 toxfactor : py3.12
51- ignore-typecheck-outcome : true
51+ ignore-typecheck-outcome : false
5252 ignore-test-outcome : false
5353 - python-version : " 3.13"
5454 toxfactor : py3.13
55- ignore-typecheck-outcome : true
55+ ignore-typecheck-outcome : false
5656 ignore-test-outcome : false
5757 - python-version : " 3.14"
5858 toxfactor : py3.14
59- ignore-typecheck-outcome : true
59+ ignore-typecheck-outcome : false
6060 ignore-test-outcome : false
6161 steps :
6262 - uses : actions/checkout@v4
@@ -71,17 +71,17 @@ jobs:
7171 python -m pip install poetry==2.0.0
7272 - name : Configure poetry
7373 run : |
74- python -m poetry config virtualenvs.in-project true
74+ poetry config virtualenvs.in-project true
7575 - name : Cache the virtualenv
7676 id : poetry-dependencies-cache
7777 uses : actions/cache@v3
7878 with :
7979 path : ./.venv
80- key : ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
80+ key : ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}${{ hashFiles('.github/workflows/**') }}
8181 - name : Install dev dependencies
8282 if : steps.poetry-dependencies-cache.outputs.cache-hit != 'true'
8383 run : |
84- python -m poetry install --only=dev
84+ poetry install
8585 - name : Download artifact
8686 uses : actions/download-artifact@v4
8787 with :
@@ -91,16 +91,15 @@ jobs:
9191 # Ignore errors for older pythons
9292 continue-on-error : ${{ matrix.ignore-typecheck-outcome }}
9393 run : |
94- source .venv/bin/activate
95- tox -e mypy
94+ poetry run mypy pytest_factoryboy
9695 - name : Test with tox
9796 continue-on-error : ${{ matrix.ignore-test-outcome }}
9897 run : |
9998 source .venv/bin/activate
10099 coverage erase
101- # Using `--parallel 4` as it's the number of CPUs in the GitHub Actions runner
102- # Using `installpkg dist/*.whl` because we want to install the pre-built package (want to test against that)
103- tox run-parallel -f ${{ matrix.toxfactor }} --parallel 4 --parallel-no-spinner --parallel-live --installpkg dist/*.whl
100+ # Using `--parallel 4` as it's the number of CPUs in the GitHub Actions runner
101+ # Using `installpkg dist/*.whl` because we want to install the pre-built package (want to test against that)
102+ tox run-parallel -f ${{ matrix.toxfactor }} --parallel 4 --parallel-no-spinner --parallel-live --installpkg dist/*.whl
104103 coverage combine
105104 coverage xml
106105 - uses : codecov/codecov-action@v4
0 commit comments