Skip to content

Merge pull request #239 from Aiven-Open/joelynch/less-noise #195

Merge pull request #239 from Aiven-Open/joelynch/less-noise

Merge pull request #239 from Aiven-Open/joelynch/less-noise #195

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
matrix:
fedora-version: ["38", "39"]
include:
- fedora-version: "38"
python-version: "3.11"
- fedora-version: "39"
# https://github.com/pydantic/pydantic/issues/9637
python-version: "3.12.3"
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: make build-dep-ubuntu test-dep-ubuntu
- name: Set up Python ${{ matrix.python-version }} with caching
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install requirements
run: pip install -e '.[cassandra,dev,f${{ matrix.fedora-version }}]'
- name: Execute lints and tests
run: make test
- id: upload-codecov
# Third-party action pinned to v2.1.0
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
with:
verbose: true