Skip to content

Commit

Permalink
Set up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jotaen committed Jan 22, 2024
1 parent 89dead5 commit 18963e2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build # I.e., verify that it compiles.
run: |
. run.sh
run::build
- name: Run tests
run: |
. run.sh
run::test
- name: Check formatting
run: |
. run.sh
run::format
[[ "$(git status --porcelain)" ]] && git status && exit 1

0 comments on commit 18963e2

Please sign in to comment.