From 064e77dbec1208a4491ffccc1e73ae5a6d0a87ea Mon Sep 17 00:00:00 2001 From: Christodoulos Tsoulloftas Date: Sun, 10 Jul 2022 09:56:07 +0300 Subject: [PATCH] Run w3c tests on 3.10 only --- .github/workflows/tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8999d43df..900d2deec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,12 +46,11 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true w3c-tests: - name: Python ${{ matrix.python }} - w3c ${{ matrix.mode }} tests + name: W3C ${{ matrix.mode }} tests runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python: ['3.7', '3.8', '3.9', '3.10'] mode: [xsd, json, xml] steps: - uses: actions/checkout@v2 @@ -64,7 +63,7 @@ jobs: - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python }} + python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip setuptools pytest pytest-xdist xmlschema @@ -79,7 +78,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: '3.10' - name: Install dependencies run: | python -m pip install tox @@ -93,7 +92,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: '3.7' - name: Install pip install . run: | pip install -e .