Skip to content

Update pre-commit hook psf/black to v23.9.1 #1133

Update pre-commit hook psf/black to v23.9.1

Update pre-commit hook psf/black to v23.9.1 #1133

Workflow file for this run

on:
push:
branches:
- stable
- dev
pull_request:
branches:
- stable
- dev
name: Tests
jobs:
misc_tests:
name: Misc tests
container:
image: fedorapython/fedora-python-tox
options: --user 1001:1001
steps:
- uses: actions/checkout@v4
- name: Run tests
run: tox -e ${{ matrix.tox_env }}
strategy:
matrix:
tox_env:
- lint
- format
- licenses
- security
- docs
runs-on: ubuntu-latest
unit_test:
name: Unit tests
container: fedorapython/fedora-python-tox:latest
steps:
- uses: actions/checkout@v4
- name: Mark the directory as safe for git
run: git config --global --add safe.directory $PWD
- name: Run tests
run: tox -e ${{ matrix.tox_env }}
strategy:
matrix:
tox_env:
- py39-unittest
- py310-unittest
runs-on: ubuntu-latest
integration_test:
name: Integration tests
steps:
- uses: actions/checkout@v4
- name: Install RabbitMQ
uses: mer-team/rabbitmq-mng-action@v1.2
with:
RABBITMQ_TAG: "3-management-alpine"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install Tox
run: pip install tox
- name: Run integration tests
# Run tox using the version of Python in `PATH`
run: tox -e py-integration
strategy:
matrix:
python:
- "3.9"
- "3.10"
runs-on: ubuntu-latest