Skip to content

fix: render docs on PR after tests #11

fix: render docs on PR after tests

fix: render docs on PR after tests #11

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: docs

Check failure on line 17 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 17, Col: 12): Job 'test' depends on unknown job 'docs'.
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