Skip to content

Commit

Permalink
use uv for env creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Oct 8, 2024
1 parent 14e5742 commit 7b6fcaa
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,25 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ["3.8", "3.9", "3.10", "3.11"]
exclude:
- os: windows-latest
python-version: '3.11'
python-version: "3.11"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_NIXTLA_TMP }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_NIXTLA_TMP }}
steps:
- name: Clone repo
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Set up environment
uses: mamba-org/setup-micromamba@617811f69075e3fd3ae68ca64220ad065877f246 # v2.0.0
with:
environment-file: environment-cpu.yml
create-args: python=${{ matrix.python-version }}
cache-environment: true
- name: Set up uv
uses: astral-sh/setup-uv@c9aa747934b6867b18bf8f6624a8929c4f76147b # v3.1.4

- name: Set up python
run: uv python install ${{ matrix.python-version }}

- name: Install pip requirements
run: pip install ./
run: uv pip install ".[dev]"

- name: Tests
run: nbdev_test --do_print --timing --n_workers 0 --flags polars

0 comments on commit 7b6fcaa

Please sign in to comment.