Skip to content

fix: render docs on PR after tests #12

fix: render docs on PR after tests

fix: render docs on PR after tests #12

Workflow file for this run

name: tests
on:
workflow_call:
workflow_dispatch:
pull_request:
branches: [ main ]
types: [labeled]
jobs:
lint:
if: github.event.label.name == 'testthis'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
test:
needs: lint
runs-on: ubuntu-latest
container: riedmiki/gromacs-plumed-python:2023.5-plumed
steps:
- uses: ./.github/workflows/build-docs.yml
- uses: actions/checkout@v4
- name: run tox
run: tox
- name: zip coverage report
if: ${{ !cancelled() }}
run: zip -r htmlcov.zip htmlcov || true
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: coverage artifact
path: htmlcov.zip