diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5ec2a..9d58ff7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: - main jobs: - fmt: + tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -23,3 +23,6 @@ jobs: run: | type cargo cargo fmt --all --check + - name: Run tests + run: | + cargo test diff --git a/.tangled/workflows/fmt.yml b/.tangled/workflows/fmt.yml index a22601d..ca9cd08 100644 --- a/.tangled/workflows/fmt.yml +++ b/.tangled/workflows/fmt.yml @@ -9,8 +9,12 @@ dependencies: - cargo - rustc - rustfmt + - gcc steps: - name: "cargo fmt" command: | cargo fmt --all --check + - name: "cargo test" + command: | + cargo test