Skip to content

Commit d7919f1

Browse files
authored
Update CI.yml: don't do all tests twice on PRs
We only need to build for `push:` on master/main and tags/releases. Copied from https://github.com/JuliaLang/Example.jl/blob/master/.github/workflows/ci.yml
1 parent 43506bd commit d7919f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/CI.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches: [main, master]
5+
tags: ["*"]
6+
pull_request:
57
jobs:
68
test:
79
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}

0 commit comments

Comments
 (0)