Skip to content

Commit

Permalink
ci: update github actions (#74)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mbrulatout and Mathias Brulatout authored May 15, 2024
1 parent c81f7d2 commit 93df72e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Python package
name: Python lint and tests

on: [push, pull_request]

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']
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/tagged_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 93df72e

Please sign in to comment.