diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index b8696008..6b4a4e36 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,4 @@ -name: gh +name: Main on: create: # is used for publishing to PyPI and TestPyPI @@ -12,13 +12,11 @@ on: - >- ** pull_request: - schedule: - - cron: '1 0 * * *' # Run daily at 0:01 UTC jobs: build_docs: name: Build Docs - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Python diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 00000000..d97d3156 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,9 @@ +name: Nightly tests + +on: + schedule: + - cron: '1 0 * * *' # Run daily at 0:01 UTC + +jobs: + tests: + uses: pytest-dev/pytest-html/.github/workflows/tests.yml@master