-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 977 Bytes
/
test.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
name: Tests
on:
#workflow_call:
pull_request:
env:
RUST_BACKTRACE: 1
ANTICIPATE_ECHO: true
jobs:
check:
name: Check for ${{ matrix.binary_target }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
include:
#- os: ubuntu-latest
#binary_target: x86_64-unknown-linux-gnu
- os: windows-latest
binary_target: x86_64-pc-windows-msvc
#- os: macos-latest
#binary_target: x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
- name: ⚡ Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Python check
shell: bash
run: |
python ./core/tests/actions/echo/main.py Hello World
- name: Run tests
run: |
cargo test --all