From 90cbba78095b6102d87f3c1b3ece544480ddb4f1 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 15 Jan 2025 20:31:50 +0100 Subject: [PATCH] revert CI running conditions back --- .github/workflows/nightly.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5befea1539..6d2d463e12 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,25 +1,24 @@ -name: nightly-test +name: nightly on: - # schedule: - # - cron: 0 0 * * * # Run every day at midnight - push: - # pull_request: - # paths: - # - .github/workflows/nightly.yml - # - .github/workflows/setup.sh - # - .github/system_tests/test_daemon.py - # - .molecule/default/files/** - # - aiida/storage/psql_dos/migrations/** - # - tests/storage/psql_dos/migrations/** - # workflow_dispatch: + schedule: + - cron: 0 0 * * * # Run every day at midnight + pull_request: + paths: + - .github/workflows/nightly.yml + - .github/workflows/setup.sh + - .github/system_tests/test_daemon.py + - .molecule/default/files/** + - aiida/storage/psql_dos/migrations/** + - tests/storage/psql_dos/migrations/** + workflow_dispatch: # https://docs.github.com/en/actions/using-jobs/using-concurrency -# concurrency: -# # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags -# group: ${{ github.workflow }}-${{ github.ref }} -# cancel-in-progress: true -# +concurrency: + # only cancel in-progress jobs or runs for the current workflow - matches against branch & tags + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: FORCE_COLOR: 1