Skip to content

Commit

Permalink
Run on eight cores with fixed seed
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourjau committed Aug 24, 2024
1 parent 1d194ed commit d561608
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/array-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Run if the commit message contains 'run array-api tests' or if the job is triggered on schedule
name: Array API test
timeout-minutes: 90
runs-on: ubuntu-latest
runs-on: ubuntu-latest-8core
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand Down
9 changes: 8 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ ndindex = "*"
[feature.test.tasks]
test = "pytest"
test-coverage = "pytest --cov=ndonnx --cov-report=xml --cov-report=term-missing"
arrayapitests = "ARRAY_API_TESTS_MODULE=ndonnx ARRAY_API_TESTS_VERSION=2023.12 ARRAY_API_TESTS_SKIP_DTYPES=complex64,complex128 pytest --max-examples 100 api-coverage-tests/array_api_tests/ -v -rfX --json-report --json-report-file=api-coverage-tests.json -n auto --disable-deadline --disable-extension linalg --skips-file=skips.txt --xfails-file=xfails.txt"

[feature.test.tasks.arrayapitests]
cmd = "pytest --max-examples 100 api-coverage-tests/array_api_tests/ -v -rfX --json-report --json-report-file=api-coverage-tests.json -n auto --disable-deadline --disable-extension linalg --skips-file=skips.txt --xfails-file=xfails.txt --hypothesis-seed=0"
[feature.test.tasks.arrayapitests.env]
ARRAY_API_TESTS_MODULE="ndonnx"
ARRAY_API_TESTS_VERSION="2023.12"
ARRAY_API_TESTS_SKIP_DTYPES="complex64,complex128"


[feature.lint.dependencies]
pre-commit = "*"
Expand Down

0 comments on commit d561608

Please sign in to comment.