Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux Tests
name: Tests

on: [ push, pull_request ]

Expand All @@ -13,20 +13,23 @@ concurrency:
cancel-in-progress: true

jobs:
gcc_x86_64_linux:
name: GCC X86_64 Linux
runs-on: ubuntu-22.04
tests:
name: ${{ matrix.environment }} ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
env:
XSREF_TABLES_PATH: "${{ github.workspace }}/xsref/tables"
strategy:
fail-fast: false
matrix:
environment: [tests-ci]
runs-on: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
with:
pixi-version: v0.44.0
cache: true
environments: ${{ matrix.environment }}
- name: Run tests
run: |
pixi run configure-tests
pixi run build-only -j2
pixi run tests -j2
run: pixi run tests-ci
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ build/

# xsref
xsref/

# IDEs
.vscode
Comment thread
lucascolley marked this conversation as resolved.
Outdated
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# xsf
Special function implementations
Special function implementations.

See https://github.com/scipy/xsf/issues/1 for context.

## Tests

Expand All @@ -9,16 +11,19 @@ To run the tests:
- [install Pixi](https://pixi.sh/latest/#installation)
- `pixi run tests`

For subsequent test runs, you can skip re-cloning [`xsref`](https://github.com/scipy/xsref) with:
You can trigger a rebuild inbetween test runs with:

```shell
pixi run --skip-deps tests
pixi run build-tests
```

You can trigger a rebuild inbetween test runs with:
For subsequent test runs, to skip re-cloning [`xsref`](https://github.com/scipy/xsref) or to control parallelism for individual commands, you can use:

```shell
pixi run build-tests
pixi run clone-xsf
pixi run configure-tests
pixi run build-only -j8
pixi run --skip-deps tests -j2
```

> [!NOTE]
Expand Down
Loading