Skip to content

Commit

Permalink
run tets with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Oct 13, 2024
1 parent 5c5b5f0 commit 5dfd3e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-cargo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ on:
- 'Cargo.toml'

jobs:
auto_cargo_release:
auto-cargo-release:
runs-on: "ubuntu-20.04"
needs: tests
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Tests

on: push

jobs:
tests:
runs-on: "ubuntu-20.04"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
run: rustup update
- name: Run tests
run: cargo test

0 comments on commit 5dfd3e2

Please sign in to comment.