From 9e5bb2c132a42b54853aa7e1491edeaa28dbfb4e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 20 Jan 2025 22:32:21 +0000 Subject: [PATCH] Move Python 3.7 tests to Ubuntu 22.04 --- .github/workflows/test.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eec1103f..7800e697 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,33 @@ jobs: strategy: matrix: platform: ["ubuntu-latest", "windows-latest"] - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" , "3.12", "3.13" ] + python-version: [ "3.8", "3.9", "3.10", "3.11" , "3.12", "3.13" ] + steps: + - uses: actions/checkout@v4 + + - name: Setup Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions codecov + + - name: Run tests + run: tox + + - name: Codecov upload + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: codecov + + test-py37: + runs-on: "ubuntu-22.04" + strategy: + matrix: + python-version: [ "3.7", ] steps: - uses: actions/checkout@v4