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 590ed90
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/test_all_commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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 }}
cc-branch: extra-credit
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 590ed90

Please sign in to comment.