diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dcc9411e..4a775c9d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: jobs: - build: + test: runs-on: ${{ matrix.os }} timeout-minutes: 30 @@ -25,13 +25,25 @@ jobs: - ubuntu-latest - windows-latest - macos-latest - + exclude: + - python-version: "3.10" + os: windows-latest + - python-version: "3.11" + os: windows-latest + - python-version: "3.12" + os: windows-latest + - python-version: "3.10" + os: macos-latest + - python-version: "3.11" + os: macos-latest + - python-version: "3.12" + os: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Setup Node.js @@ -50,14 +62,10 @@ jobs: npm install cucumber-html-reporter npm list - name: Test with tox - if: > - !((matrix.python-version == '3.12' || - matrix.python-version == '3.11' || - matrix.python-version == '3.10') && - (matrix.os =='macos-latest' || matrix.os =='windows-latest')) run: | tox - name: Gather codecov + if: (matrix.python-version == '3.9' || matrix.python-version == '3.13') run: | codecov - name: Build checking diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0c82d7f1..7396b725 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.13" - name: Install dependencies