Update dependencies in lockfile #1125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
name: Run tests | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
dnf install -y git krb5-devel libpq-devel | |
pip install poetry>=1.2 | |
- name: Mark the working directory as safe for Git | |
run: git config --global --add safe.directory $PWD | |
- name: Install the project | |
run: poetry install | |
- name: Run pre-commit checks | |
run: poetry run pre-commit run --all-files | |
licenses: | |
name: Licenses | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
pip install poetry>=1.2 | |
- name: Check licenses | |
run: tox -e licenses | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
pip install poetry>=1.2 | |
- name: Build the docs | |
run: tox -e docs | |
- name: Save the docs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: datagrepper/docs/_build/html | |
unit_tests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
pip install poetry>=1.2 | |
- name: Build the docs | |
run: tox -e ${{ matrix.tox_env }} | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# name: ${{ matrix.tox_env }} | |
# flags: unittests | |
# env_vars: PYTHON | |
# fail_ci_if_error: true | |
strategy: | |
matrix: | |
tox_env: | |
- py310 | |
- py311 |