Skip to content

Test Rust Project

Test Rust Project #5

Workflow file for this run

name: Test Rust Project
on:
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: 'true'
toolchain: nightly
- name: Run tests
run: |
cargo +nightly test -- -Z unstable-options --format junit --report-time
- name: Publish Test Report
uses: mikepenz/[email protected]
if: always()
with:
fail_on_failure: true
require_tests: true
summary: ${{ steps.cargo_reporter.outputs.summary }}