Skip to content

Commit 233a8b7

Browse files
committed
revert to original CI from cookiecutter
1 parent 6252ea1 commit 233a8b7

2 files changed

Lines changed: 14 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,29 @@ jobs:
4747
python-version: ["3.9", "3.13"]
4848
runs-on: [ubuntu-latest, windows-latest, macos-14]
4949

50+
include:
51+
- python-version: "pypy-3.10"
52+
runs-on: ubuntu-latest
53+
5054
steps:
5155
- uses: actions/checkout@v4
5256
with:
5357
fetch-depth: 0
5458

55-
- uses: mamba-org/setup-micromamba@v2
59+
- uses: actions/setup-python@v5
5660
with:
57-
environment-file: env/test_env.yml
58-
create-args: >-
59-
python=${{ matrix.python-version }}
60-
post-cleanup: "all"
61-
# cache-downloads: false
62-
# # environment cache is persistent for one week.
63-
# cache-environment-key:
64-
# micromamba-environment-${{ steps.date.outputs.date }}
61+
python-version: ${{ matrix.python-version }}
62+
allow-prereleases: true
63+
64+
- uses: astral-sh/setup-uv@v6
6565

66-
- name: Install the package
67-
run: pip install --no-deps -e .
66+
- name: Install package
67+
run: uv sync
6868

69-
- name: Run the tests
69+
- name: Test package
7070
run: >-
71-
pytest -ra --cov --cov-report=xml --cov-report=term --durations=20
71+
uv run pytest -ra --cov --cov-report=xml --cov-report=term
72+
--durations=20
7273
7374
- name: Upload coverage report
7475
uses: codecov/codecov-action@v5

env/test_env.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)