Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Don't run CI on pushes to devel (only pull requests).
  • Loading branch information
davebiagioni authored Nov 16, 2021
1 parent da3c024 commit 4384d5e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ on:
push:
branches:
- "main"
- "devel"
pull_request:
branches:
- "main"
- "devel"
schedule:
# Nightly tests run on master by default: (PSJ: this runs weekly on sunday)
# Nightly tests run on master by default:
# Scheduled workflows run on the latest commit on the default or base branch.
# (from https://help.github.com/en/actions/reference/events-that-trigger-workflows#scheduled-events-schedule)
- cron: "0 0 * * 0"
Expand All @@ -24,7 +23,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macOS-latest, ubuntu-latest, windows-latest ]
os: [ macOS-latest ]
python-version: [ 3.7, 3.8, 3.9 ]

steps:
Expand Down

0 comments on commit 4384d5e

Please sign in to comment.