Skip to content

Commit

Permalink
Merge pull request #8 from weiji14/ci
Browse files Browse the repository at this point in the history
Setup GitHub Actions Continuous Integration tests
  • Loading branch information
dominikbucher authored Apr 28, 2024
2 parents 7dd9068 + 1b28226 commit 7a2e2b9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run tests

on:
push:
branches: [ "main" ]
pull_request:
types: [ opened, reopened, synchronize ]
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

0 comments on commit 7a2e2b9

Please sign in to comment.