File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 55 push :
66 branches :
77 - 4.1.0
8- - 4.0.0
98jobs :
109 tests :
1110 uses : ./.github/workflows/test.yml
1615 env :
1716 DOCKER_PLATFORMS : linux/amd64,linux/arm64
1817 DOCKER_IMAGE : ghtardo/docker-privoxy-https
19- LASTEST_VERSION : " 4.1.0 "
20- PRIVOXY_VERSION : " 4.1.0 "
18+ LASTEST_VERSION : " ${{ github.event.repository.default_branch }} "
19+ PRIVOXY_VERSION : " ${{ github.ref_name }} "
2120 steps :
2221 - name : Set up QEMU
2322 uses : docker/setup-qemu-action@v3
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Test
22
33on :
44 pull_request :
5- branches : [4.1.0, 4.0.0 ]
5+ branches : [4.1.0]
66 workflow_call :
77
88jobs :
@@ -38,17 +38,13 @@ jobs:
3838 - uses : pre-commit/action@v3.0.1
3939
4040 privoxy :
41- strategy :
42- matrix :
43- privoxy_version : [4.1.0, 4.0.0]
44- python-version : [3.13]
45- fail-fast : false
4641 runs-on : ubuntu-latest
4742 needs : pre-commit
4843 env :
4944 DEBIAN_FRONTEND : noninteractive
5045 PYTHONDONTWRITEBYTECODE : 1
5146 PYTHONUNBUFFERED : 1
47+ PYTHON_VERSION : " 3.13"
5248
5349 steps :
5450 - uses : actions/cache@v4
6965 - name : Set up Python
7066 uses : actions/setup-python@v6
7167 with :
72- python-version : ${{ matrix.python-version }}
68+ python-version : ${{ env.PYTHON_VERSION }}
7369
7470 - name : Install poetry
7571 uses : abatilo/actions-poetry@v3
8278 poetry install
8379
8480 - name : Run pytest
85- run : poetry run pytest --privoxy-version ${{ matrix.privoxy_version }} --no-cache -v
81+ run : poetry run pytest --privoxy-version ${{ github.ref_name }} --no-cache -v
You can’t perform that action at this time.
0 commit comments