ci: Added "cargo test" command (#33)
Resolves #32 Co-authored-by: FroVolod <frol_off@meta.ua>
This commit is contained in:
parent
6f6796c94b
commit
e917d5584f
1 changed files with 22 additions and 0 deletions
22
.github/workflows/tests.yml
vendored
Normal file
22
.github/workflows/tests.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Tests
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
profile: minimal
|
||||
- name: Tests
|
||||
run: cargo test --workspace
|
||||
Loading…
Add table
Add a link
Reference in a new issue