Skip to content

Commit

Permalink
Add workflow for running random tests triggered by commits to master
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rr0 committed Sep 13, 2021
1 parent 6b798ca commit c73d485
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/random_tests.yml
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

0 comments on commit c73d485

Please sign in to comment.