File: tests.yml

package info (click to toggle)
python-editables 0.5-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 160 kB
  • sloc: python: 370; makefile: 14
file content (39 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (3)
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
name: Tests

on:
  push:
    branches: [main]
  pull_request:

jobs:
  test:
    name: ${{ matrix.os }}-Python${{ matrix.py }}
    runs-on: ${{ matrix.os }}-latest

    strategy:
      matrix:
        os:
        - Ubuntu
        - Windows
        # - MacOS
        py:
        - "3.7"
        - "3.8"
        - "3.9"
        - "3.10"
        - "3.11"

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.py }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.py }}

    # Get the latest nox
    - name: Install nox
      run: python -m pip install nox

    # Main check
    - name: Run test suite for ${{ matrix.os }}-Python${{ matrix.py }}
      run: python -m nox -s tests