Skip to content

Commit

Permalink
CI: Improve the Tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jun 19, 2024
1 parent 93593ae commit de3213c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
- 'HinetPy/**'
- 'tests/**'
- '.github/workflows/tests.yml'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
test:
Expand All @@ -27,9 +32,6 @@ jobs:
os: [macos-latest, ubuntu-latest]

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit de3213c

Please sign in to comment.