-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 892 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Rust tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: IronCoreLabs/rust-toolchain@v1
with:
toolchain: nightly
### Pemdas
- name: Run tests (`pemdas` & `compile-time-optimizations`)
run: cargo test --no-default-features --features pemdas --features compile-time-optimizations
- name: Run tests (`pemdas` feature)
run: cargo test --no-default-features --features pemdas
### Pejmdas
- name: Run tests (`pejmdas` & `compile-time-optimizations` feature)
run: cargo test --no-default-features --features pejmdas --features compile-time-optimizations
- name: Run tests (`pejmdas` feature)
run: cargo test --no-default-features --features pejmdas