From fce7961d252bf858f01918c6426f4b33f3b58465 Mon Sep 17 00:00:00 2001 From: Everaldo Date: Mon, 9 Sep 2024 11:40:50 -0700 Subject: [PATCH] Add scheduled tests. --- .github/workflows/scheduled_tests.yml | 12 +++--------- requirements_web.txt | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/scheduled_tests.yml b/.github/workflows/scheduled_tests.yml index 0c97636..e27f925 100644 --- a/.github/workflows/scheduled_tests.yml +++ b/.github/workflows/scheduled_tests.yml @@ -17,10 +17,10 @@ jobs: AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} # AWS Default Region. AWS_S3_BUCKET: "biothings-codebuild" # The S3 bucket name for storing application metadata. SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # The Slack webhook URL for sending notifications. - SLACK_CHANNEL: "#observability-test" # The Slack channel where notifications will be posted. + SLACK_CHANNEL: "#logger---web" # The Slack channel where notifications will be posted. APPLICATION_NAME: "mygene.info" # The name of the application being tested. It will be displayed in the Slack message. - APPLICATION_METADATA_URL: "https://mygene.info/metadata" # Path to the application metadata, typically a URL. - APPLICATION_METADATA_FIELD: "build_date" # Notation to the build version field. Ex.: "metadata.build_version" + APPLICATION_METADATA_URL: "https://mygene.info/v3/metadata" # Path to the application metadata, typically a URL. + APPLICATION_METADATA_FIELD: "build_version" # Notation to the build version field. Ex.: "metadata.build_version" strategy: fail-fast: false @@ -58,9 +58,3 @@ jobs: run: | source .venv/bin/activate python -m pytest src/tests/data_tests biothings_client.py/tests/gene.py -s -vv - - # ### For debugging purposes in case of github action failure - # ### Reference:https://github.com/mxschmitt/action-tmate - # - name: Setup tmate debug session on failure - # if: ${{ failure() }} - # uses: mxschmitt/action-tmate@v3 diff --git a/requirements_web.txt b/requirements_web.txt index 5c1c4dc..ce3e7e6 100644 --- a/requirements_web.txt +++ b/requirements_web.txt @@ -1,5 +1,5 @@ # Use this instead to test the latest fixes on 0.12.x branch before official release -# biothings@git+https://github.com/biothings/biothings.api@0.12.x#egg=biothings[web_extra] -biothings@git+https://github.com/biothings/biothings.api@slack-messages-in-pytest +# git+https://github.com/biothings/biothings.api@0.12.x#egg=biothings[web_extra] +biothings@git+https://github.com/biothings/biothings.api@1.0.x # biothings[web_extra]==0.12.5