Skip to content

Commit

Permalink
build: run internet tests in GitHub Actions if changed
Browse files Browse the repository at this point in the history
If changes are made to internet tests, run the internet tests in GitHub
Actions on Linux.
  • Loading branch information
Trott committed Sep 11, 2021
1 parent e267467 commit d34df15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ jobs:
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
- name: Test Internet
# Only run if files in test/internet have changed.
run: git diff --name-only origin/HEAD | grep test/internet && make test-internet -j2 V=1

0 comments on commit d34df15

Please sign in to comment.