-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 768 Bytes
/
tests.yml
File metadata and controls
38 lines (33 loc) · 768 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
32
33
34
35
36
37
38
name: Tests
on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'noxfile.py'
- '.github/workflows/tests.yml'
workflow_dispatch:
env:
FORCE_COLOR: 1
UV_LOCKED: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
- run: uv run nox