File: create_tests_package_lists.yml

package info (click to toggle)
python-pipx 1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,768 kB
  • sloc: python: 9,813; makefile: 17; sh: 7
file content (36 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download
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
name: Create tests package lists for offline tests
on:
  workflow_dispatch:
concurrency:
  group: create-tests-package-lists-${{ github.ref }}
  cancel-in-progress: true
jobs:
  create_package_lists:
    name: Create package lists
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        python-version: ["3.13", "3.12", "3.11", "3.10", "3.9"]
        include:
          - os: macos-latest
            python-version: "3.13"
          - os: windows-latest
            python-version: "3.13"
    steps:
      - uses: actions/checkout@v6
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v6
        with:
          python-version: ${{ matrix.python-version }}
          cache: "pip"
      - name: Install nox
        run: python -m pip install nox
      - name: Create lists
        run:
          nox --non-interactive --session create_test_package_list-${{ matrix.python-version }} -- ./new_tests_packages
      - name: Store reports as artifacts
        uses: actions/upload-artifact@v7
        with:
          name: lists-${{ matrix.os }}-${{ matrix.python-version }}
          path: ./new_tests_packages