Skip to content

Commit

Permalink
use concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Jan 17, 2024
1 parent da372c1 commit b5f7a8e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ on:
pull_request:
branches: [main, master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
RADIAN_NO_INPUTHOOK: 1

jobs:
cleanup:
name: Cancel Previous Runs
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

pytest:
name: ${{ matrix.os }} r-${{ matrix.r }} py-${{ matrix.python }}
strategy:
Expand Down

0 comments on commit b5f7a8e

Please sign in to comment.