-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow for running random tests triggered by commits to master
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Run bowtie random tests for all commits to master on Ubuntu and MacOS | ||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
paths: | ||
- '**.c' | ||
- '**.h' | ||
- '**.cpp' | ||
- 'bowtie' | ||
- 'bowtie-build' | ||
- 'bowtie-inspect' | ||
- 'Makefile' | ||
- 'scripts/test/**' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
paths: | ||
- '**.c' | ||
- '**.h' | ||
- '**.cpp' | ||
- 'bowtie' | ||
- 'bowtie-build' | ||
- 'bowtie-inspect' | ||
- 'Makefile' | ||
- 'scripts/test/**' | ||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Install zlib development files | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install zlib1g-dev | ||
linux: | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run random tests | ||
run: | | ||
make allall | ||
make random-test | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run random tests | ||
run: | | ||
make allall | ||
make random-test |