Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr committed Jul 1, 2024
1 parent c353798 commit 3bf7849
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/run-e2e-tests-on-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ name: Run e2e tests on azure
# the workflow checks out the `azure-openai-release-3.9` branch and runs the tests.

on:
schedule:
# Run cron job at 8AM Monday every week.
- cron: '0 8 * * 1'
workflow_dispatch:
push:
branches:
- 'fix-test-run-schedule'
# schedule:
# # Run cron job at 8AM Monday every week.
# - cron: '0 8 * * 1'
# workflow_dispatch:

env:
DEFAULT_PYTHON_VERSION: '3.9'
Expand Down Expand Up @@ -50,17 +53,17 @@ jobs:
- name: Set up virtual environment
run: poetry config virtualenvs.in-project true

# Authenticate with gcloud for release registry (where Rasa is published)
- id: "auth-release"
name: Authenticate with gcloud for release registry 🎫
uses: "google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d"
with:
token_format: 'access_token'
credentials_json: "${{ secrets.RASA_RELEASES_READ }}"

- name: Configure OAuth token for poetry
run: |
poetry config http-basic.rasa-plus oauth2accesstoken $(gcloud auth print-access-token)
# # Authenticate with gcloud for release registry (where Rasa is published)
# - id: "auth-release"
# name: Authenticate with gcloud for release registry 🎫
# uses: "google-github-actions/auth@ef5d53e30bbcd8d0836f4288f5e50ff3e086997d"
# with:
# token_format: 'access_token'
# credentials_json: "${{ secrets.RASA_RELEASES_READ }}"
#
# - name: Configure OAuth token for poetry
# run: |
# poetry config http-basic.rasa-plus oauth2accesstoken $(gcloud auth print-access-token)

- name: Install Dependencies 📦
run: |
Expand Down

0 comments on commit 3bf7849

Please sign in to comment.