Skip to content

Commit

Permalink
Move integration tests to separate GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jbesraa committed Dec 18, 2024
1 parent 1ffcf45 commit 0a81c0e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
branches:
- main
pull_request:
branches:
- main

name: Integration Tests

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl

steps:
- name: Use stable toolchain
uses: actions/checkout@v4
with:
profile: minimal
toolchain: stable
override: true

- name: Roles Integration Tests
run: |
cargo test --manifest-path=roles/Cargo.toml --verbose --test '*' -- --nocapture
4 changes: 0 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ jobs:
cargo build --manifest-path=roles/Cargo.toml
cargo build --manifest-path=utils/Cargo.toml
- name: Roles Integration Tests
run: |
cargo test --manifest-path=roles/Cargo.toml --verbose --test '*' -- --nocapture
- name: Run sv1-client-and-server example
run: |
cargo run --manifest-path=examples/sv1-client-and-server/Cargo.toml --bin client_and_server -- 60
Expand Down

0 comments on commit 0a81c0e

Please sign in to comment.