Skip to content

Commit

Permalink
Run test suites separately
Browse files Browse the repository at this point in the history
This way, if e.g. the unit tests pass but the acceptance tests fail (as
happened in PR #11), that information will be evident before
investigating the specific problem.
  • Loading branch information
daaang committed Nov 8, 2021
1 parent 37bd656 commit b2f49a1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests
name: Acceptance Tests

on:
push:
Expand All @@ -10,7 +10,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run unit tests
run: 'make test'
- name: Run acceptance tests
run: 'make features'
14 changes: 14 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Unit Tests

on:
push:
branches: [main]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run unit tests
run: 'make test'

0 comments on commit b2f49a1

Please sign in to comment.