Skip to content

Commit

Permalink
Add timeout and concurrency rule to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveography committed Jun 21, 2022
1 parent b10f2a3 commit 6e78116
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
name: unit tests
on: [push]

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

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [3.7, 3.8, 3.9]

runs-on: ${{ matrix.os }}
timeout-minutes: 30

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 6e78116

Please sign in to comment.