Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/unit_tests_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Automated STD Unit Testing

on:
push:
paths-ignore:
- "**/README.md"
pull_request:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
rust-checks:
name: Rust Checks
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
action:
- command: test
args: -v --workspace --exclude focus --features unit-tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
# The .cargo folder contains configuration that do not work with running the test (probably dependency missing)
# We only need the normal rust toolchain to test the STD Unit tests
- name: Remove .cargo folder
run: rm -rf .cargo
- name: Run tests
# We use the stable toolchain to run the STD unit tests
run: cargo +stable ${{ matrix.action.command }} ${{ matrix.action.args }}
Loading