Skip to content

Merge pull request #711 from fedora-infra/dependabot/pip/gunicorn-22.0.0 #1909

Merge pull request #711 from fedora-infra/dependabot/pip/gunicorn-22.0.0

Merge pull request #711 from fedora-infra/dependabot/pip/gunicorn-22.0.0 #1909

Workflow file for this run

---
name: mote
on: [push, pull_request, workflow_dispatch]
jobs:
ci-basic:
strategy:
fail-fast: false
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Install the base dependencies
run: |
python3 -m pip install --upgrade poetry tox
- name: Check the correctness of the project config
run: |
poetry check
- name: Check the quality of the code
run: |
tox -e black
tox -e flake8
tox -e isort
ci-tests:
strategy:
fail-fast: false
matrix:
tox-env: ["py38", "py39", "py310"]
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Install the base dependencies
run: |
python3 -m pip install --upgrade tox
- name: Install Redis
run: |
sudo dnf install redis -y
- name: Set up user for running the testcases
run: |
useradd testuser
chown -R testuser .
- name: Execute tox
env:
FLASK_CACHE_REDIS_URL: "redis://localhost"
FLASK_CACHE_TYPE: "RedisCache"
run: |
su testuser -c "tox -e ${{ matrix.tox-env }}"