Skip to content

Commit

Permalink
separated test and release and activated matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjakab committed May 6, 2024
1 parent fe294b5 commit 6a4a144
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- "v*"

jobs:
test_and_release:
name: Test and Release
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
#python-version: ["3.7", "3.10", "3.12"]
#python-version: ["3.7"]
python-version: ["3.7", "3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python (${{ matrix.python-version }})
Expand All @@ -27,6 +27,12 @@ jobs:
- name: Test
run: |
pytest
release:
name: Release
runs-on: ubuntu-latest
needs: ["test"]
steps:
- uses: actions/checkout@v4
- name: Create Release
uses: ncipollo/release-action@v1
# ref.: https://github.com/ncipollo/release-action
Expand Down

0 comments on commit 6a4a144

Please sign in to comment.