-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optim(graph): Minor optimizations to examples using graph parameters (#…
…95)
- Loading branch information
1 parent
529f334
commit d05b2ef
Showing
9 changed files
with
156 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,31 +18,19 @@ jobs: | |
matrix: | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
exclude: | ||
- os: macos-latest # Segmentation fault on github actions that we can not reproduce in the wild | ||
python-version: '3.8' | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: pipx install poetry | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'poetry' | ||
cache-dependency-path: '**/pyproject.toml' | ||
- run: poetry install | ||
- run: poetry run pytest -m "" # Run all markers | ||
|
||
# Temporary bugfix see https://github.com/pre-commit/pre-commit/issues/2178 | ||
- name: Pin virtualenv version | ||
run: pip install virtualenv==20.10.0 | ||
|
||
- name: Install Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.3.2 | ||
|
||
- name: Run poetry install | ||
run: poetry install | ||
|
||
- name: Run pytest | ||
timeout-minutes: 15 | ||
run: poetry run pytest -m "all_examples or runtime or neps_api or summary_csv" |
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
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
Oops, something went wrong.