Skip to content

Commit

Permalink
add CI check to run test suite against each commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsandler committed Jul 8, 2024
1 parent 4901505 commit 1cf1a88
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/test_all_commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Run test_each_chapter.yaml, from nqcc2 repo, to make sure we're not
# e.g. using a language feature before the test where it's added

name: Test All Chapters

on:
pull_request:
branches: [ "main" ]

jobs:
test_all_chapters:
uses: nlsandler/nqcc2/.github/workflows/test_each_chapter.yaml@extra-credit
with:
tests-branch: ${{ github.head_ref }}
2 changes: 1 addition & 1 deletion .github/workflows/test_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Compiler Test Suite CI

on:
pull_request:
branches: [ "main", "complete-test-suite" ]
branches: [ "main" ]

workflow_dispatch:

Expand Down

0 comments on commit 1cf1a88

Please sign in to comment.