Skip to content

Commit

Permalink
revert CI running conditions back
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jan 15, 2025
1 parent fa1070d commit f548f6e
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
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

jobs:

nightly-tests:

# if: github.repository == 'aiidateam/aiida-core' # Prevent running the builds on forks as well
if: github.repository == 'aiidateam/aiida-core' # Prevent running the builds on forks as well
runs-on: ubuntu-24.04

services:
Expand Down

0 comments on commit f548f6e

Please sign in to comment.