2222 matrix :
2323 include :
2424 - arch : amd64
25- toxenv : py36,py39,py310,py311,py312,py313,py314,py315,py314t,py315t,pypy,pypy39,pypy310,pypy311
25+ toxenv : py39,py310,py311,py312,py313,py314,py315,py314t,py315t,pypy39,pypy310,pypy311
26+ - arch : amd64
27+ toxenv : py36,pypy27
2628 - arch : arm64
2729 toxenv : py312
2830 - arch : ppc64le
4547 tags : |
4648 fedorapython/fedora-python-tox:${{ matrix.arch }}
4749 fedorapython/fedora-python-tox:${{ matrix.arch }}-f${{ env.FEDORA_VERSION }}
50+ - name : Setup tox for end-of-life Python versions
51+ if : ${{ matrix.toxenv }} == 'py36,pypy27'
52+ run : |
53+ sed -i '/\[tox\]/a requires = virtualenv<20.22.0' example_project/tox.ini
4854 - name : Test local project
4955 env :
5056 TOXENV : ${{ matrix.toxenv }}
@@ -70,13 +76,13 @@ jobs:
7076 docker run --rm --platform linux/${{ matrix.arch }} -e TOXENV=py3 -e GIT_URL=https://github.com/frenzymadness/nflxprofile.git -e WORKDIR=python fedorapython/fedora-python-tox:${{ matrix.arch }}
7177 - name : Login to DockerHub
7278 uses : docker/login-action@v1
73- if : github.event_name == 'push' || github.event_name == 'schedule'
79+ if : ( github.event_name == 'push' || github.event_name == 'schedule') && ${{ matrix.toxenv }} != 'py36,pypy27 '
7480 with :
7581 username : ${{ secrets.DOCKERHUB_USERNAME }}
7682 password : ${{ secrets.DOCKERHUB_TOKEN }}
7783 - name : Push to Dockerhub
7884 uses : docker/build-push-action@v2
79- if : github.event_name == 'push' || github.event_name == 'schedule'
85+ if : ( github.event_name == 'push' || github.event_name == 'schedule') && ${{ matrix.toxenv }} != 'py36,pypy27 '
8086 with :
8187 context : .
8288 platforms : linux/${{ matrix.arch }}
0 commit comments