Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 18 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,25 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: Swatinem/rust-cache@v2
- name: Download libduckdb (macos)
if: matrix.os == 'macos-latest'
run: |
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-osx-universal.zip
unzip libduckdb-osx-universal.zip -d libduckdb
echo "DYLD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
- name: Download libduckdb (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
unzip libduckdb-linux-amd64.zip -d libduckdb
echo "LD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
- name: Sync
run: uv sync
run: uv sync --no-install-project
- name: Build
run: uv run maturin dev --uv --no-default-features
- name: Lint
run: scripts/lint
- name: Test
run: scripts/test
run: uv run pytest
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ Then:
```shell
git clone [email protected]:gadomski/stacrs.git
cd stacrs
scripts/test # This will take a little while while the Rust dependencies build, especially DuckDB
uv sync
uv run pytest
```

See [CONTRIBUTING.md](./CONTRIBUTING.md) for more information about contributing to this project.
Expand Down
6 changes: 0 additions & 6 deletions scripts/test

This file was deleted.

Loading