Debian Codegraph @

.github/workflows/test.yml

raw symbols SCIP
1 name: test
2
3 on:
4 push:
5 branches:
6 - main
7 - "test-me-*"
8
9 pull_request:
10
11
12 concurrency:
13 group: ${{ github.workflow }}-${{ github.ref }}
14 cancel-in-progress: true
15
16 jobs:
17
18 package:
19 runs-on: ubuntu-latest
20 permissions:
21 id-token: write
22 attestations: write
23 steps:
24 - uses: actions/checkout@v4
25 - name: Build and Check Package
26 uses: hynek/[email protected]
27
28 test:
29
30 needs: [package]
31
32 runs-on: ${{ matrix.os }}
33
34 strategy:
35 fail-fast: false
36 matrix:
37 python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
38 os: [ubuntu-latest, windows-latest]
39
40 steps:
41 - uses: actions/checkout@v4
42
43 - name: Download Package
44 uses: actions/download-artifact@v4
45 with:
46 name: Packages
47 path: dist
48
49 - name: Set up Python
50 uses: actions/setup-python@v5
51 with:
52 python-version: ${{ matrix.python }}
53
54 - name: Install tox
55 run: |
56 python -m pip install --upgrade pip
57 pip install tox
58
59 - name: Test
60 shell: bash
61 run: |
62 tox run -e py --installpkg `find dist/*.tar.gz`