@@ -27,26 +27,16 @@ jobs:
2727 fail-fast : false
2828 matrix :
2929 os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
30- python-version : ['3.8', '3.9', '3.10', '3.11']
30+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12' ]
3131
3232 steps :
3333 - uses : actions/checkout@v4
34- - uses : mamba-org /setup-micromamba@v1
34+ - uses : actions /setup-python@v4
3535 with :
36- environment-name : gha-testing
37- condarc : |
38- channels:
39- - nodefaults
40- - conda-forge
41- create-args : >-
42- python=${{ matrix.python-version }}
43- mamba
44- tox-conda
45- cache-environment : true
46-
47- - name : Install core dependencies.
48- shell : bash -l {0}
49- run : conda install -c conda-forge tox-conda coverage
36+ python-version : ${{ matrix.python-version }}
37+ cache : pip
38+ allow-prereleases : true
39+ - run : pip install tox
5040
5141 # Unit, integration, and end-to-end tests.
5242
@@ -55,24 +45,15 @@ jobs:
5545 run : tox -e pytest -- tests -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
5646
5747 - name : Upload coverage report for unit tests and doctests.
58- if : runner.os == 'Linux' && matrix.python-version == '3.9 '
48+ if : runner.os == 'Linux' && matrix.python-version == '3.10 '
5949 shell : bash -l {0}
6050 run : bash <(curl -s https://codecov.io/bash) -F unit -c
6151
62- # - name: Run integration tests.
63- # shell: bash -l {0}
64- # run: tox -e pytest -- tests -m integration --cov=./ --cov-report=xml -n auto
65-
66- # - name: Upload coverage reports of integration tests.
67- # if: runner.os == 'Linux' && matrix.python-version == '3.9'
68- # shell: bash -l {0}
69- # run: bash <(curl -s https://codecov.io/bash) -F integration -c
70-
7152 - name : Run end-to-end tests.
7253 shell : bash -l {0}
7354 run : tox -e pytest -- tests -m end_to_end --cov=./ --cov-report=xml -n auto
7455
7556 - name : Upload coverage reports of end-to-end tests.
76- if : runner.os == 'Linux' && matrix.python-version == '3.9 '
57+ if : runner.os == 'Linux' && matrix.python-version == '3.10 '
7758 shell : bash -l {0}
7859 run : bash <(curl -s https://codecov.io/bash) -F end_to_end -c
0 commit comments