Skip to content

Rust4PM Restructure #166

Rust4PM Restructure

Rust4PM Restructure #166

Workflow file for this run

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