Skip to content

Commit

Permalink
Removed pull_request trigger and changed concurrency rule
Browse files Browse the repository at this point in the history
  • Loading branch information
clyde-johnston committed Aug 14, 2023
1 parent 3b9a492 commit c09f439
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 'Test and Release Yakut'
on: [ push, pull_request ]
on: push

# Ensures that only one workflow is running at a time - required for duplicate pushes and repushing a PR
# Ensures that only one workflow is running at a time
concurrency:
group: ${{ github.workflow }}
group: ${{ github.workflow_sha }}
cancel-in-progress: true

jobs:
Expand All @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019-npcap]
os: [ubuntu-20.04, windows-2019-npcap]
python: ['3.8', '3.9', '3.10']
exclude:
- os: windows-2019-npcap
Expand All @@ -35,8 +35,10 @@ jobs:
- name: Install dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
uname -r
sudo apt-get --ignore-missing update || true
sudo apt-get install -y linux-*-extra-$(uname -r) ncat
sudo apt-get install -y linux-modules-extra-5.15.0-1042-azure
sudo apt-get install -y libsdl2-2.0-0 # For PySDL2. On Windows/macOS the binaries are pulled from PyPI.
sudo apt-get install -y libasound2-dev # For RtMidi.
fi
Expand Down

0 comments on commit c09f439

Please sign in to comment.