Skip to content

build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 #334

build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4

build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 #334

Workflow file for this run

name: Run tests
on:
push:
branches: [ main ]
paths:
- '**.py'
- .github/workflows/tests.yml
- requirements-test.txt
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy-3.8]
env:
OS: ubuntu-latest
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Update apt
run: |
sudo apt-get update
- name: Install RabbitMQ
run: |
sudo apt-get install rabbitmq-server
- name: Run test
uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest -n 0 --cov-report=xml
- name: Run xdist test
uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
pipenv-install-options: "--skip-lock"
command: pytest -n 1 --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
flags: linux
env_vars: OS, PYTHON
fail_ci_if_error: false
token: ${{ inputs.codecov_token }}