-
-
Notifications
You must be signed in to change notification settings - Fork 21
31 lines (28 loc) · 746 Bytes
/
test-windows.yml
File metadata and controls
31 lines (28 loc) · 746 Bytes
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
name: test windows
on:
push:
paths: &push_paths
- Cargo.lock
- lib/**
- .github/workflows/test-windows.yml
pull_request:
paths: *push_paths
permissions:
contents: read
jobs:
# Only lib is tested on windows since building the gui/cli would take
# a lot longer, and they don't contain any platform specific code
test-rust:
runs-on: windows-2025
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install just
run: choco install just
- name: Install rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Run lib tests
run: just lib/ test