1 parent 40a5e95 commit f5cc8f9Copy full SHA for f5cc8f9
1 file changed
.github/workflows/requirements.yml
@@ -0,0 +1,30 @@
1
+name: testcontainers requirements
2
+on:
3
+ push:
4
+ branches: [master]
5
+ pull_request:
6
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
0 commit comments