Update dependencies in lockfile #998
Workflow file for this run
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 pre-commit | |
run: dnf install -y pre-commit git | |
- name: Mark the working directory as safe for Git | |
run: git config --global --add safe.directory $PWD | |
- name: Run pre-commit checks | |
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 RPM dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
- 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 RPM dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
- name: Build the docs | |
run: tox -e docs | |
- name: Save the docs | |
uses: actions/upload-artifact@v3 | |
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 RPM dependencies | |
run: | | |
dnf install -y krb5-devel libpq-devel | |
- 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 |