Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
ci: add pip and uv installation workflows, rename pypi to pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
liblaf committed Aug 27, 2024
1 parent e3bafed commit 75a192e
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: pip

on:
push:

jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
- name: Install ${{ matrix.pkg }}
run: pip install "${{ matrix.pkg }}"
strategy:
matrix:
pkg:
- confz
- dvc
- dvclive
- gmsh
- icecream
- jax
- jax[cuda12]
- loguru
- matplotlib
- meshio[all]
- numpy
- pyright
- pytest
- pytest-benchmark
- pyvista
- ruff
- scipy
- sparse
- trimesh[all]
fail-fast: false
5 changes: 2 additions & 3 deletions .github/workflows/pypi.yaml → .github/workflows/pixi.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Test PyPI
name: pixi

on:
push:

jobs:
test:
name: Test
add:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/uv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: uv

on:
push:

jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Create Virtual Environment
run: uv venv
- name: Install "${{ matrix.pkg }}"
run: uv pip install "${{ matrix.pkg }}"
strategy:
matrix:
pkg:
- confz
- dvc
- dvclive
- gmsh
- icecream
- jax
- jax[cuda12]
- loguru
- matplotlib
- meshio[all]
- numpy
- pyright
- pytest
- pytest-benchmark
- pyvista
- ruff
- scipy
- sparse
- trimesh[all]
fail-fast: false

0 comments on commit 75a192e

Please sign in to comment.