-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 963 Bytes
/
test.yaml
File metadata and controls
43 lines (40 loc) · 963 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
39
40
41
42
43
---
name: Test
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "requirements_dev.txt"
activate-environment: true
- name: Install dependencies
run: |
uv pip install -r requirements_dev.txt
- name: Test with pytest
run: |
pytest --cov=supernote --cov-report=term-missing
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true