1- # Run tox tests on Ubuntu Docker images using GIFT PPA
1+ # Run tox tests on Ubuntu Docker images using the deadsnakes and GIFT PPAs
22name : test_tox
33on :
44 pull_request :
@@ -15,15 +15,15 @@ jobs:
1515 matrix :
1616 include :
1717 - python-version : ' 3.12'
18- toxenv : ' py312,wheel '
18+ toxenv : ' py312'
1919 - python-version : ' 3.13'
20- toxenv : ' py313,wheel '
20+ toxenv : ' py313'
2121 - python-version : ' 3.14'
22- toxenv : ' py314,wheel '
22+ toxenv : ' py314'
2323 container :
2424 image : ubuntu:24.04
2525 steps :
26- - uses : actions/checkout@v4
26+ - uses : actions/checkout@v6
2727 - name : Set up container
2828 env :
2929 DEBIAN_FRONTEND : noninteractive
@@ -45,18 +45,16 @@ jobs:
4545 env :
4646 LANG : en_US.UTF-8
4747 run : |
48- tox -e${{ matrix.toxenv }}
48+ tox -e ${{ matrix.toxenv }},wheel
4949 coverage :
5050 runs-on : ubuntu-latest
5151 strategy :
5252 matrix :
53- include :
54- - python-version : ' 3.12'
55- toxenv : ' coverage'
53+ python-version : ['3.12']
5654 container :
5755 image : ubuntu:24.04
5856 steps :
59- - uses : actions/checkout@v4
57+ - uses : actions/checkout@v6
6058 - name : Set up container
6159 env :
6260 DEBIAN_FRONTEND : noninteractive
@@ -73,27 +71,25 @@ jobs:
7371 add-apt-repository -y ppa:deadsnakes/ppa
7472 add-apt-repository -y ppa:gift/dev
7573 apt-get update -q
76- apt-get install -y build-essential git pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv python3-pip python3-setuptools tox
74+ apt-get install -y build-essential curl git pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv python3-pip python3-setuptools tox
7775 - name : Run tests with coverage
7876 env :
7977 LANG : en_US.UTF-8
8078 run : |
81- tox -e${{ matrix.toxenv }}
79+ tox -e coverage
8280 - name : Upload coverage report to Codecov
83- uses : codecov/codecov-action@v4
81+ uses : codecov/codecov-action@v6
8482 with :
8583 token : ${{ secrets.CODECOV_TOKEN }}
8684 lint :
8785 runs-on : ubuntu-latest
8886 strategy :
8987 matrix :
90- include :
91- - python-version : ' 3.12'
92- toxenv : ' lint'
88+ python-version : ['3.12']
9389 container :
9490 image : ubuntu:24.04
9591 steps :
96- - uses : actions/checkout@v4
92+ - uses : actions/checkout@v6
9793 - name : Set up container
9894 env :
9995 DEBIAN_FRONTEND : noninteractive
@@ -115,4 +111,4 @@ jobs:
115111 env :
116112 LANG : en_US.UTF-8
117113 run : |
118- tox -e${{ matrix.toxenv }}
114+ tox -e lint
0 commit comments