forked from mycecilia/FaST-LMM
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cdba6b0
commit 802c440
Showing
4 changed files
with
50 additions
and
130 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 |
---|---|---|
|
@@ -24,30 +24,24 @@ jobs: | |
- name: Install Python ${{ matrix.python-version }} | ||
run: uv python install ${{ matrix.python-version }} | ||
|
||
- name: Setup, Lint, and Test Python (Linux/macOS) | ||
if: runner.os != 'Windows' | ||
- name: Pinned Ruff | ||
run: uvx [email protected] check | ||
- name: Lastest Ruff (just to check for warnings) | ||
run: uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff" | ||
- name: Install dependencies | ||
run: uv sync --all-extras --prerelease allow | ||
- name: Run test | ||
shell: bash | ||
run: | | ||
uvx [email protected] check | ||
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff" | ||
uv sync --all-extras --prerelease allow | ||
source .venv/bin/activate | ||
cd tests | ||
python test.py | ||
cd .. | ||
uv build | ||
- name: Setup, Lint, and Test Python (Windows) | ||
if: runner.os == 'Windows' | ||
run: | | ||
uvx [email protected] check | ||
uvx ruff@latest check || echo "Ignoring warnings from the latest version of ruff" | ||
uv sync --all-extras --prerelease allow | ||
.venv\Scripts\activate | ||
cd tests | ||
python test.py | ||
cd .. | ||
uv build | ||
if [[ "$RUNNER_OS" != "Windows" ]]; then | ||
source .venv/bin/activate | ||
else | ||
source .venv/Scripts/activate | ||
fi | ||
python tests/test.py | ||
- name: Build | ||
run: uv build | ||
- name: Save SDist | ||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' | ||
uses: actions/upload-artifact@v4 | ||
|
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