File: run-tox-tests.yml

package info (click to toggle)
python-bcj 1.0.7%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 264 kB
  • sloc: ansic: 1,503; python: 341; makefile: 4
file content (53 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (2)
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
name: Run Tox tests

on:
  push:
    branches:
      - main
      - releases/*
  pull_request:
    types:
      - opened
      - synchronize
      - reopened

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-24.04, windows-latest]
        python-version: [
            "3.10",
            "3.11",
            "3.12",
            "3.13",
            "3.14",
            "pypy-3.10",
        ]
        include:
          - os: macos-latest
            python-version: "3.14"
          - os: ubuntu-24.04-arm
            python-version: "3.13"
          - os: windows-11-arm
            python-version: "3.13"
        exclude:
          - os: windows-latest
            python-version: 'pypy-3.10'
    name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 20
      - name: Setup python
        uses: actions/setup-python@v6
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          pip install -U pip tox wheel setuptools setuptools_scm[toml]
          pip install tox-gh-actions
      - name: Test project with tox
        run: |
          tox