-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #429 from aai-institute/fix/reduce-execution-time-…
…of-tests Reduce execution time of tests
- Loading branch information
Showing
51 changed files
with
1,893 additions
and
2,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Run Notebook Tests | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
python_version: | ||
description: "Determines which Python version to use" | ||
type: string | ||
required: true | ||
|
||
env: | ||
PY_COLORS: 1 | ||
|
||
jobs: | ||
run-tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Python ${{ inputs.python_version }} | ||
uses: ./.github/actions/python | ||
with: | ||
python_version: ${{ inputs.python_version }} | ||
- name: Cache Tox Directory for Tests | ||
uses: actions/cache@v3 | ||
with: | ||
key: tox-${{ runner.os }}-${{ github.ref }}-${{ hashFiles('tox.ini', 'requirements.txt') }}-${{ inputs.python_version }} | ||
path: .tox | ||
- name: Set up memcached | ||
uses: niden/actions-memcached@v7 | ||
- name: Test Notebooks | ||
run: tox -e notebook-tests | ||
continue-on-error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,3 +144,6 @@ data/models/ | |
|
||
# Docs | ||
docs_build | ||
|
||
# pytest-profiling | ||
prof/ |
Oops, something went wrong.