-
-
Notifications
You must be signed in to change notification settings - Fork 76
44 lines (39 loc) · 1021 Bytes
/
rs-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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
push:
name: "rs-tests"
jobs:
build:
name: Testing on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
- os: windows-2022
- os: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Load .env file
uses: xom9ikk/dotenv@v2
with:
path: ./
load-mode: strict
- name: Rust Nightly
run: |
rustup default nightly
rustup update
- name: Windows rust toolchain
if: runner.os == 'Windows'
run: |
rustup component add rust-src --toolchain nightly-x86_64-pc-windows-gnu
rustup default nightly-x86_64-pc-windows-gnu
- name: Test Fractindex
run: |
cd core/rs/fractindex-core
cargo test --features=loadable_extension
- name: Integration Tests
run: |
cd core/rs/integration-check
cargo test