-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (44 loc) · 1.21 KB
/
test-package-linux.yml
File metadata and controls
49 lines (44 loc) · 1.21 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
name: Test package Linux
on:
workflow_call:
workflow_dispatch:
push:
branches: ["main", "tester/*"]
pull_request:
branches: ["main"]
jobs:
test-package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [
"ubuntu-python-3-10",
"ubuntu-python-3-11",
"ubuntu-python-3-12",
"ubuntu-python-3-13",
]
include:
- name: "ubuntu-python-3-10"
python-version: "3.10"
os: ubuntu-latest
- name: "ubuntu-python-3-11"
python-version: "3.11"
os: ubuntu-latest
- name: "ubuntu-python-3-12"
python-version: "3.12"
os: ubuntu-latest
- name: "ubuntu-python-3-13"
python-version: "3.13"
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Build package
run: python -m pip install -e .
- name: Install test requirements
run: python -m pip install unittest-extensions
- name: Test package
run: python -m unittest -v test.py