From ad2d79750242d762b070ffab1d2dba2e33c92099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Br=C3=A4nnlund?= Date: Mon, 17 Jan 2022 20:14:18 +0100 Subject: [PATCH] Separate Nightly workflow --- .github/workflows/actions.yml | 6 ++---- .github/workflows/nightly.yml | 9 +++++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/nightly.yml 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