Skip to content

Commit

Permalink
ci: add test workflow (#8)
Browse files Browse the repository at this point in the history
* ci: add test workflow

* remove duplicate test run
  • Loading branch information
hydrobeam authored Nov 28, 2024
1 parent c167306 commit 7ef248e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Cargo Build & Test

on:
push:
branches:
- "main"
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Org-rust - latest
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v4

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.81.0

- name: Build
run: cargo build --verbose

- name: Test Workspace
run: cargo test --workspace

0 comments on commit 7ef248e

Please sign in to comment.