2023-05-26 21:02:59 +02:00
|
|
|
name: Rust Tests
|
2023-01-12 09:43:08 +01:00
|
|
|
|
|
|
|
on:
|
2023-05-26 21:02:59 +02:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'master'
|
2023-01-12 09:43:08 +01:00
|
|
|
|
2023-05-26 21:02:59 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'master'
|
2023-01-12 09:43:08 +01:00
|
|
|
|
|
|
|
jobs:
|
2023-05-26 20:35:20 +02:00
|
|
|
test:
|
|
|
|
name: Test Suite
|
2023-01-12 09:43:08 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-05-26 20:35:20 +02:00
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2023-05-26 21:02:59 +02:00
|
|
|
- name: Install minimal stable
|
2023-05-26 20:35:20 +02:00
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
profile: minimal
|
|
|
|
toolchain: stable
|
2023-05-26 20:48:36 +02:00
|
|
|
|
2023-05-26 20:35:20 +02:00
|
|
|
- name: Run cargo test
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: test
|