-
Notifications
You must be signed in to change notification settings - Fork 10
28 lines (28 loc) · 740 Bytes
/
test.yml
File metadata and controls
28 lines (28 loc) · 740 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
on:
push:
pull_request:
name: Test
jobs:
pytest:
strategy:
matrix:
python-version:
- "3.10"
- "3.12"
- "3.13"
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- run: python -m pip install -U pip wheel setuptools
- run: python -m pip install -r test-requirements.txt
- run: python -m pip install .
env:
CFLAGS: "-DCYTHON_TRACE=1"
BENCODER_LINETRACE: 1
- run: python -m pytest --cov=bencoder --cov-report=xml .
- uses: codecov/codecov-action@v3.1.4