-
Notifications
You must be signed in to change notification settings - Fork 1.5k
45 lines (43 loc) · 1.29 KB
/
allpackages.yml
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
on:
pull_request:
branches:
- main
name: allpackages
permissions:
contents: read
jobs:
test-all-packages-normal:
runs-on: ubuntu-latest
strategy:
matrix:
# python 3.12 is only available in pre-release versions
python: ['3.9']
#python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install packages (normal)
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install -r scripts/test_all_packages/all_packages-${{ matrix.python }}.txt
test-all-packages-prerelease:
runs-on: ubuntu-latest
strategy:
matrix:
#python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install packages (pre-release)
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install -r scripts/test_all_packages/all_packages_pre_release-${{ matrix.python }}.txt