Skip to content

Bump mkdocs-material from 9.5.11 to 9.7.2 #86

Bump mkdocs-material from 9.5.11 to 9.7.2

Bump mkdocs-material from 9.5.11 to 9.7.2 #86

Workflow file for this run

name: Run Pytest and Codecov with Hatch
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build --target hatch -t myapp:hatch .
- name: Run pytest and generate coverage report
run: docker run --rm -e HATCH_ENV=test -v "${{ github.workspace }}:/app" myapp:hatch cov
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ${{ github.workspace }}/coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}