Skip to content

Commit

Permalink
Add scheduled tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Sep 9, 2024
1 parent b60313c commit fce7961
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions requirements_web.txt
Original file line number Diff line number Diff line change
@@ -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/[email protected]#egg=biothings[web_extra]
biothings@git+https://github.com/biothings/biothings.api@slack-messages-in-pytest
# git+https://github.com/biothings/[email protected]#egg=biothings[web_extra]
biothings@git+https://github.com/biothings/biothings.api@1.0.x

# biothings[web_extra]==0.12.5

0 comments on commit fce7961

Please sign in to comment.