File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : testcontainers requirements
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ branches : [master]
7
+
8
+ jobs :
9
+ requirements :
10
+ strategy :
11
+ matrix :
12
+ python-version :
13
+ - " 3.7"
14
+ - " 3.8"
15
+ - " 3.9"
16
+ - " 3.10"
17
+ - " 3.11"
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+ - name : Setup python ${{ matrix.python-version }}
22
+ uses : actions/setup-python@v4
23
+ with :
24
+ python-version : ${{ matrix.python-version }}
25
+ - name : Update pip and install pip-tools
26
+ run : pip install --upgrade pip pip-tools
27
+ - name : Build requirements
28
+ run : |
29
+ rm requirements/${{ matrix.python-version }}.txt
30
+ pip-compile --resolver=backtracking -v --upgrade -o requirements/${{ matrix.python-version }}.txt
31
+ - name : Store requirements as artifact
32
+ uses : actions/upload-artifact@v3
33
+ with :
34
+ name : requirements-${{ matrix.python-version }}.txt
35
+ path : requirements/${{ matrix.python-version }}.txt
You can’t perform that action at this time.
0 commit comments