From 20956296ed142e84970d1bf62f08f1ce751ec1ee Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 15 Jan 2025 10:14:35 +0100 Subject: [PATCH] remote ssh --- .../system_tests/test_containerized_code.py | 1 - .github/workflows/nightly.yml | 20 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/system_tests/test_containerized_code.py b/.github/system_tests/test_containerized_code.py index f4bb5b02fd..a4286d8ba7 100644 --- a/.github/system_tests/test_containerized_code.py +++ b/.github/system_tests/test_containerized_code.py @@ -21,7 +21,6 @@ def test_add_singularity(): results, node = run_get_node(builder) - assert node.is_finished_ok assert 'sum' in results assert 'remote_folder' in results diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c150460eae..88c8042bad 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,9 +1,10 @@ -name: nightly +name: nightly-test on: # schedule: # - cron: 0 0 * * * # Run every day at midnight - pull_request: + push: + # pull_request: # paths: # - .github/workflows/nightly.yml # - .github/workflows/setup.sh @@ -11,14 +12,14 @@ on: # - .molecule/default/files/** # - aiida/storage/psql_dos/migrations/** # - tests/storage/psql_dos/migrations/** - workflow_dispatch: + # 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 @@ -73,6 +74,9 @@ jobs: # NOTE: virtual env in .venv created by uv in previous step run: source .venv/bin/activate && .github/workflows/setup.sh + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + - name: Run tests id: tests run: source .venv/bin/activate && .github/workflows/tests_nightly.sh