Skip to content

Commit e4c5f97

Browse files
authored
Composite Setup Python Action (#594)
* Add composite setup-python matrix action * Fix actions path * Clean out dependency install * [Mega-Linter] Apply linters fixes * Remove fail-fast from matrix strategy Co-authored-by: TimPansino <[email protected]>
1 parent 9726a42 commit e4c5f97

File tree

2 files changed

+81
-676
lines changed

2 files changed

+81
-676
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: "setup-python-matrix"
2+
description: "Sets up all versions of python required for matrix testing in this repo."
3+
runs:
4+
using: "composite"
5+
steps:
6+
- uses: actions/setup-python@v3
7+
with:
8+
python-version: "pypy-3.6"
9+
architecture: x64
10+
11+
- uses: actions/setup-python@v3
12+
with:
13+
python-version: "pypy-3.7"
14+
architecture: x64
15+
16+
- uses: actions/setup-python@v3
17+
with:
18+
python-version: "pypy-2.7"
19+
architecture: x64
20+
21+
- uses: actions/setup-python@v3
22+
with:
23+
python-version: "3.6"
24+
architecture: x64
25+
26+
- uses: actions/setup-python@v3
27+
with:
28+
python-version: "3.7"
29+
architecture: x64
30+
31+
- uses: actions/setup-python@v3
32+
with:
33+
python-version: "3.8"
34+
architecture: x64
35+
36+
- uses: actions/setup-python@v3
37+
with:
38+
python-version: "3.9"
39+
architecture: x64
40+
41+
- uses: actions/setup-python@v3
42+
with:
43+
python-version: "3.10"
44+
architecture: x64
45+
46+
- uses: actions/setup-python@v3
47+
with:
48+
python-version: "2.7"
49+
architecture: x64
50+
51+
- name: Install Dependencies
52+
shell: bash
53+
run: |
54+
python3.10 -m pip install -U pip
55+
python3.10 -m pip install -U wheel setuptools tox virtualenv!=20.0.24

0 commit comments

Comments
 (0)