Skip to content

action: remove the py38 support in ci #326

action: remove the py38 support in ci

action: remove the py38 support in ci #326

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

(Line: 50, Col: 1): Unexpected value 'tox_py38'
push:
branches:
- master
pull_request:
branches:
- master
name: Run Tox tests
jobs:
tox_test:
name: Tox test
steps:
- name: Checkout kobo
uses: actions/checkout@v2
- name: Run Tox tests
id: test
uses: fedora-python/tox-github-action@main
with:
tox_env: ${{ matrix.tox_env }}
dnf_install: python3-rpm /usr/bin/gcc /usr/bin/krb5-config /etc/mime.types
strategy:
matrix:
tox_env: [
# This list has to be maintained manually :(
# You can get it from `tox -l | sed "s/$/,/"`
py36-django2,
py36-django3,
py39-django2,
py39-django3,
py310-django2,
py310-django3,
py311-django2,
py311-django3,
py39-django4,
py310-django4,
py311-django4,
py312-django4,
py310-django5,
py311-django5,
py312-django5,
py39-bandit,
]
# Use GitHub's Linux Docker host
runs-on: ubuntu-latest
tox_py38:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tox_env: [
py38-django2,
py38-django3,
py38-django4
]
steps:
- uses: actions/checkout@v4
- name: Install pyenv dependencies
run: sudo apt-get update && sudo apt-get install -y \
build-essential curl git libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev
- name: Install Python 3.8 via pyenv
run: |
curl https://pyenv.run | bash
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 3.8.18
pyenv global 3.8.18
python --version
- name: Install tox
run: pip install tox
- name: Run tox
run: tox -e ${{ matrix.tox_env }}