ci: Added "cargo test" command (#33)

Resolves #32

Co-authored-by: FroVolod <frol_off@meta.ua>
This commit is contained in:
FroVolod 2025-01-07 23:41:55 +02:00 committed by GitHub
parent 6f6796c94b
commit e917d5584f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
.github/workflows/tests.yml vendored Normal file
View 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