Skip to content

Commit

Permalink
Add CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgitangu committed Nov 6, 2024
1 parent 03abb73 commit d5c886d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4

# Recursively build each project
- name: Build all projects
run: |
find . -name "Cargo.toml" -execdir cargo build --verbose \;
# Recursively run tests for each project
- name: Run tests for all projects
run: |
find . -name "Cargo.toml" -execdir cargo test --verbose \;

0 comments on commit d5c886d

Please sign in to comment.