From 55aec359b0177bc18cbbb98cd08ce30c852ae365 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 8 Mar 2022 18:37:12 +0100 Subject: [PATCH] Run extended metadata test on schedule Including outputs_to_working_directory, except for the integration tests. --- .github/workflows/api.yaml | 9 +++++++-- .github/workflows/api_paste.yaml | 1 - .github/workflows/converter_tests.yaml | 8 +++++++- .github/workflows/framework.yaml | 8 +++++++- .github/workflows/integration.yaml | 7 ++++++- .github/workflows/integration_selenium.yaml | 8 +++++++- .github/workflows/performance.yaml | 8 +++++++- .github/workflows/selenium.yaml | 8 +++++++- .github/workflows/selenium_beta.yaml | 9 +++++++-- 9 files changed, 55 insertions(+), 11 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 4261edbda06..06b120faaf2 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -10,12 +10,13 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' GALAXY_DEPENDENCIES_INSTALL_WEASYPRINT: '1' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' - GALAXY_DEPENDENCIES_INSTALL_WEASYPRINT: '1' GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' concurrency: group: api-${{ github.ref }} @@ -37,6 +38,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root' diff --git a/.github/workflows/api_paste.yaml b/.github/workflows/api_paste.yaml index e9f062a2ff6..989cf1c0df4 100644 --- a/.github/workflows/api_paste.yaml +++ b/.github/workflows/api_paste.yaml @@ -15,7 +15,6 @@ env: GALAXY_TEST_USE_UVICORN: false GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' concurrency: group: api-legacy-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/converter_tests.yaml b/.github/workflows/converter_tests.yaml index 503c10e4dd6..4625cbe3b7e 100644 --- a/.github/workflows/converter_tests.yaml +++ b/.github/workflows/converter_tests.yaml @@ -8,9 +8,11 @@ on: paths-ignore: - 'client/**' - 'doc/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' concurrency: group: converter-${{ github.ref }} cancel-in-progress: true @@ -22,6 +24,10 @@ jobs: matrix: python-version: ['3.7'] steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root' diff --git a/.github/workflows/framework.yaml b/.github/workflows/framework.yaml index 0d55c194b0a..80e58494157 100644 --- a/.github/workflows/framework.yaml +++ b/.github/workflows/framework.yaml @@ -10,10 +10,12 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' concurrency: group: framework-${{ github.ref }} cancel-in-progress: true @@ -34,6 +36,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root' diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 0070b591578..a13657287a3 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -10,8 +10,10 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' GALAXY_TEST_AMQP_URL: 'amqp://localhost:5672//' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' @@ -42,6 +44,9 @@ jobs: ports: - 5672:5672 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV - name: Prune unused docker image, volumes and containers run: docker system prune -a -f - name: Clean dotnet folder for space diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 3eed338a794..5adfea5dff9 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -6,8 +6,10 @@ on: pull_request: paths-ignore: - 'doc/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' GALAXY_SKIP_CLIENT_BUILD: '0' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' @@ -34,6 +36,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - name: Prune unused docker image, volumes and containers run: docker system prune -a -f - uses: actions/checkout@v2 diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 15e6abfeb46..909669503af 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -10,8 +10,10 @@ on: - 'client/**' - 'doc/**' - 'lib/galaxy_test/selenium/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' concurrency: group: performance-${{ github.ref }} @@ -33,6 +35,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root' diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index c87a755142d..64e44d4af61 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -6,9 +6,11 @@ on: pull_request: paths-ignore: - 'doc/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: GALAXY_CONFIG_GALAXY_URL_PREFIX: '/galaxypf' - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' GALAXY_TEST_SELENIUM_RETRIES: 1 @@ -37,6 +39,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root' diff --git a/.github/workflows/selenium_beta.yaml b/.github/workflows/selenium_beta.yaml index 83ed093dbde..4e9b38e1e90 100644 --- a/.github/workflows/selenium_beta.yaml +++ b/.github/workflows/selenium_beta.yaml @@ -6,6 +6,9 @@ on: pull_request: paths-ignore: - 'doc/**' + schedule: + # Run at midnight UTC every Tuesday + - cron: '0 0 * * 2' env: GALAXY_CONFIG_GALAXY_URL_PREFIX: '/galaxypf' GALAXY_TEST_DBURI: 'postgresql://postgres:postgres@localhost:5432/galaxy?client_encoding=utf8' @@ -15,8 +18,6 @@ env: GALAXY_TEST_SKIP_FLAKEY_TESTS_ON_ERROR: 1 YARN_INSTALL_OPTS: --frozen-lockfile GALAXY_CONFIG_SQLALCHEMY_WARN_20: '1' - GALAXY_TEST_RAISE_EXCEPTION_ON_HISTORYLESS_HDA: '1' - GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY: 'extended' concurrency: group: selenium-beta-${{ github.ref }} cancel-in-progress: true @@ -39,6 +40,10 @@ jobs: ports: - 5432:5432 steps: + - if: github.event_name == 'schedule' + run: | + echo "GALAXY_CONFIG_OVERRIDE_METADATA_STRATEGY=extended" >> $GITHUB_ENV + echo "GALAXY_CONFIG_OVERRIDE_OUTPUTS_TO_WORKING_DIRECTORY=true" >> $GITHUB_ENV - uses: actions/checkout@v2 with: path: 'galaxy root'