File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 requirements :
1010 strategy :
1111 matrix :
12- python-version :
13- - " 3.7"
14- - " 3.8"
15- - " 3.9"
16- - " 3.10"
17- - " 3.11"
18- runs-on : ubuntu-latest
12+ runtime :
13+ - machine : ubuntu-latest
14+ python-version : " 3.7"
15+ - machine : ubuntu-latest
16+ python-version : " 3.8"
17+ - machine : ubuntu-latest
18+ python-version : " 3.9"
19+ - machine : ubuntu-latest
20+ python-version : " 3.10"
21+ - machine : ubuntu-latest
22+ python-version : " 3.11"
23+ - machine : windows-latest
24+ python-version : " 3.10"
25+ runs-on : ${{ matrix.runtime.machine }}
1926 steps :
2027 - uses : actions/checkout@v3
21- - name : Setup python ${{ matrix.python-version }}
28+ - name : Setup python ${{ matrix.runtime. python-version }}
2229 uses : actions/setup-python@v4
2330 with :
24- python-version : ${{ matrix.python-version }}
31+ python-version : ${{ matrix.runtime. python-version }}
2532 - name : Update pip and install pip-tools
2633 run : pip install --upgrade pip pip-tools
2734 - name : Build requirements
2835 run : |
29- rm requirements/${{ matrix.python-version }} .txt
30- pip-compile --resolver=backtracking -v --upgrade -o requirements/${{ matrix.python-version }} .txt
36+ rm -f requirements .txt
37+ pip-compile --resolver=backtracking -v --upgrade -o requirements.txt
3138 - name : Store requirements as artifact
3239 uses : actions/upload-artifact@v3
3340 with :
34- name : requirements-${{ matrix.python-version }}.txt
35- path : requirements/${{ matrix.python-version }} .txt
41+ name : requirements-${{ matrix.runtime.machine }}-${{ matrix.runtime. python-version }}.txt
42+ path : requirements.txt
You can’t perform that action at this time.
0 commit comments