Skip to content

Commit

Permalink
Use python 3.12 to run tools
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed Sep 11, 2024
1 parent 5209f0b commit 239e2bd
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,30 @@ jobs:

steps:
- uses: actions/checkout@v3


# Python version used by tox
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.version }}
architecture: x64

- name: Install Dependencies
run: |
pip install -U pip
pip install -U wheel setuptools tox coverage
pip install -U wheel setuptools
# Python version for tools
- uses: actions/setup-python@v4
with:
python-version: "3.12"
architecture: x64

- name: Install Dependencies
run: |
python3.12 -m pip install -U pipx
pipx install tox --python=python3.12
pipx install coverage --python=python3.12
- name: Test
run: tox -vv -p auto -f ${{ matrix.python.tox-prefix }} -- --cov-report=xml
env:
Expand Down

0 comments on commit 239e2bd

Please sign in to comment.