-
Notifications
You must be signed in to change notification settings - Fork 2
63 lines (61 loc) · 1.49 KB
/
test.yml
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
63
name: Test & Track
on:
push:
branches:
- main
paths-ignore:
- '.github/workflows/build.yml'
- '.github/workflows/auto-merge.yml'
pull_request:
jobs:
test:
strategy:
matrix:
py_ver: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Ensure Python Runtime
with:
python-version: ${{matrix.py_ver}}
architecture: 'x64'
- name: Ensure PDM
run: |
python3 -m pip install pdm
- name: Install Package
run: |
pdm sync -G:all --no-self
- name: Install self
run: |
export TARINA_NO_EXTENSIONS=1 && pdm install
- name: Test & Report
run: |
pdm run test
test_with_extensions:
strategy:
matrix:
py_ver: ['3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Ensure Python Runtime
with:
python-version: ${{matrix.py_ver}}
architecture: 'x64'
- name: Ensure PDM
run: |
python3 -m pip install pdm
- name: Install Package
run: |
pdm sync -G:all --no-self
- name: Cythonize
run: |
pdm run make
- name: Install self
run: |
pdm install -v
- name: Test & Report
run: |
pdm run test