Skip to content

Commit

Permalink
#307 Added the rest of the notebook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Jul 29, 2024
1 parent 5cf8ba1 commit 1ba634f
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/notebook_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,53 @@ jobs:
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}

slc:
name: Running nbtest_script_languages_container.py
environment: AWS_SAGEMAKER
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/prepare_test_env/

- name: Run notebook tests
run: |
poetry run pytest \
--capture=no \
--override-ini=log_cli=true \
--override-ini=log_cli_level=INFO \
--nb-test-file=nbtest_script_languages_container.py \
test/notebook_test_runner/test_notebooks_in_dss_docker_image.py
env:
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}

misc:
name: Running relatively short notebook tests
environment: AWS_SAGEMAKER
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/prepare_test_env/

- name: Run notebook tests
run: |
poetry run pytest \
--capture=no \
--override-ini=log_cli=true \
--override-ini=log_cli_level=INFO \
--nb-test-file="nbtest_environment_test.py nbtest_itde.py" \
test/notebook_test_runner/test_notebooks_in_dss_docker_image.py
env:
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }}
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }}
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }}

0 comments on commit 1ba634f

Please sign in to comment.