-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (39 loc) · 1.13 KB
/
Copy pathtest.windows.yml
File metadata and controls
43 lines (39 loc) · 1.13 KB
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
name: Test on Windows
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
Test:
strategy:
matrix:
os: [ windows-latest ]
rust: [ stable ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Downloading test files
run: |
choco install wget --no-progress
wget.exe -O process_mining/test_data/out.zip https://rwth-aachen.sciebo.de/s/4cvtTU3lLOgtxt1/download
- name: Unpacking test files
run: 7z.exe x process_mining/test_data/out.zip -oprocess_mining/test_data
- name: Build
run: cargo build --verbose
working-directory: ./process_mining
- name: Run tests
run: cargo test --verbose
working-directory: ./process_mining