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 9629e78
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on: push
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare environment
run: source run.sh
- name: Build
run: |
run::build
- name: Run tests
run: |
run::test
- name: Check formatting
run: |
run::format
[[ "$(git status --porcelain)" ]] && git status && exit 1

0 comments on commit 9629e78

Please sign in to comment.