File tree Expand file tree Collapse file tree 2 files changed +96
-42
lines changed
Expand file tree Collapse file tree 2 files changed +96
-42
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : Python Verification
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ include :
20+ - platform : " std2-all"
21+ python : " 3.7"
22+ postgres : " 17"
23+ - platform : " std2-all"
24+ python : " 3.8.0"
25+ postgres : " 17"
26+ - platform : " std2-all"
27+ python : " 3.8"
28+ postgres : " 17"
29+ - platform : " std2-all"
30+ python : " 3.9"
31+ postgres : " 17"
32+ - platform : " std2-all"
33+ python : " 3.10"
34+ postgres : " 17"
35+ - platform : " std2-all"
36+ python : " 3.11"
37+ postgres : " 17"
38+ - platform : " std2-all"
39+ python : " 3.12"
40+ postgres : " 17"
41+ - platform : " std2-all"
42+ python : " 3.13"
43+ postgres : " 17"
44+ - platform : " std2-all"
45+ python : " 3.14"
46+ postgres : " 17"
47+ - platform : " std"
48+ python : " 3"
49+ postgres : " 10"
50+ - platform : " std"
51+ python : " 3"
52+ postgres : " 11"
53+ - platform : " std"
54+ python : " 3"
55+ postgres : " 12"
56+ - platform : " std"
57+ python : " 3"
58+ postgres : " 13"
59+ - platform : " std"
60+ python : " 3"
61+ postgres : " 14"
62+ - platform : " std"
63+ python : " 3"
64+ postgres : " 15"
65+ - platform : " std"
66+ python : " 3"
67+ postgres : " 16"
68+ - platform : " std-all"
69+ python : " 3"
70+ postgres : " 17"
71+ - platform : " std-all"
72+ python : " 3"
73+ postgres : " 18"
74+ - platform : " ubuntu_24_04"
75+ python : " 3"
76+ postgres : " 17"
77+ - platform : " altlinux_10"
78+ python : " 3"
79+ postgres : " 17"
80+ - platform : " altlinux_11"
81+ python : " 3"
82+ postgres : " 17"
83+
84+ steps :
85+ - name : Prepare variables
86+ run : |
87+ RUN_CFG__DOCKER_IMAGE_NAME="tests-${{ matrix.platform }}-py${{ matrix.python }}-pg${{ matrix.postgres }}"
88+ echo "RUN_CFG__DOCKER_IMAGE_NAME=$RUN_CFG__DOCKER_IMAGE_NAME" >> $GITHUB_ENV
89+ echo "---------- [$GITHUB_ENV]"
90+ cat $GITHUB_ENV
91+ - name : Checkout
92+ uses : actions/checkout@v4
93+ - name : Build local image ${{ matrix.alpine }}
94+ run : docker build --build-arg PG_VERSION="${{ matrix.postgres }}" --build-arg PYTHON_VERSION="${{ matrix.python }}" -t "${{ env.RUN_CFG__DOCKER_IMAGE_NAME }}" -f Dockerfile--${{ matrix.platform }}.tmpl .
95+ - name : Run
96+ run : docker run $(bash <(curl -s https://codecov.io/env)) -t "${{ env.RUN_CFG__DOCKER_IMAGE_NAME }}"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments