-
-
Notifications
You must be signed in to change notification settings - Fork 30
62 lines (50 loc) · 1.11 KB
/
Copy pathtest.yml
File metadata and controls
62 lines (50 loc) · 1.11 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Test
on:
push:
branches:
- main
paths-ignore:
- README.md
- LICENSE
- doc/**
pull_request:
branches:
- main
paths-ignore:
- README.md
- LICENSE
- doc/**
env:
CARGO_TERM_COLOR: always
jobs:
# No longer checking lock because the lock version could be intentionally set
# check-lock:
# name: Check lock
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Check lock
# run: cargo update --locked
test:
strategy:
fail-fast: false
matrix:
# Refers to
# - https://github.com/actions/runner-images
# - https://github.com/actions/partner-runner-images
image:
- ubuntu-24.04
- macos-15-intel
- macos-15
- windows-2022
- ubuntu-24.04-arm
name: Test ${{ matrix.image }}
runs-on: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Test
run: cargo test
- name: Doc
run: cargo doc --no-deps