auto run test
Some checks failed
Test Rust project / test (ubuntu-latest, stable) (push) Failing after 57s
Some checks failed
Test Rust project / test (ubuntu-latest, stable) (push) Failing after 57s
This commit is contained in:
21
.gitea/workflows/test.yaml
Normal file
21
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Test Rust project
|
||||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
rust: [stable]
|
||||
|
||||
steps:
|
||||
- uses: https://git.oliveratkinson.net/Oliver/setup-rust-action@master
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- uses: actions/checkout@master
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- name: Clippy
|
||||
run: cargo clippy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user