Skip to content

Commit fb22768

Browse files
hanzhao2020aabrown100-gitktbolt
authored
Updating yml files to run test actions only when files in Code and tests are modified. (SimVascular#394)
Co-authored-by: Aaron Brown <71424733+aabrown100-git@users.noreply.github.com> Co-authored-by: Dave Parker <dvdpax@gmail.com>
1 parent 0ae0944 commit fb22768

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/test_macos.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: macos-latest
22
on:
3-
push:
3+
push:
4+
paths:
5+
- 'Code/**'
6+
- 'tests/**'
7+
- '.github/**'
48
pull_request:
5-
paths-ignore:
6-
- '**.md'
9+
paths:
10+
- 'Code/**'
11+
- 'tests/**'
12+
- '.github/**'
713
jobs:
814
test:
915
runs-on: macos-latest

.github/workflows/test_ubuntu.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: ubuntu-latest
22
on:
33
push:
4+
paths:
5+
- 'Code/**'
6+
- 'tests/**'
7+
- '.github/**'
48
pull_request:
5-
paths-ignore:
6-
- '**.md'
9+
paths:
10+
- 'Code/**'
11+
- 'tests/**'
12+
- '.github/**'
713
jobs:
814
test:
915
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)