From 93df72e5f7740acb1ee93f98c1f8a970f2ddbdc0 Mon Sep 17 00:00:00 2001 From: Mathias Brulatout Date: Wed, 15 May 2024 16:10:33 +0200 Subject: [PATCH] ci: update github actions (#74) The main workflow now has an appropriate name and the fail-fast strategy is disabled, allowing linting and testing steps to continue on each python version. The tagged release workflow do not run linters and tets anymore. Co-authored-by: Mathias Brulatout --- .github/workflows/main.yml | 3 ++- .github/workflows/tagged_release.yml | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82d8c34..af0a985 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Python package +name: Python lint and tests on: [push, pull_request] @@ -6,6 +6,7 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false max-parallel: 5 matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] diff --git a/.github/workflows/tagged_release.yml b/.github/workflows/tagged_release.yml index 6017b48..e0faf69 100644 --- a/.github/workflows/tagged_release.yml +++ b/.github/workflows/tagged_release.yml @@ -12,14 +12,6 @@ jobs: runs-on: "ubuntu-latest" steps: - - name: Install dependencies - run: | - python -m pip install --upgrade uv tox tox-uv - - name: Test with tox - run: tox -e py - - name: Run linters - run: tox -e lint - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}"