Skip to content
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
with:
python-version: "3.10"
- name: Install pypa/build
run: make .venv && VIRTUAL_ENV=./.venv
run: pip install rust-just && just ci-setup
- name: CI-check
run: source .venv/bin/activate && make ci-check
run: just ci-check

tests:
name: Tests
Expand All @@ -40,9 +40,9 @@ jobs:
with:
python-version: "3.10"
- name: Install pypa/build
run: make .venv && VIRTUAL_ENV=./.venv
run: pip install rust-just && just ci-setup
- name: Execute tests
run: source .venv/bin/activate && pytest .
run: uv run pytest .

build:
name: Build wheels
Expand All @@ -57,9 +57,9 @@ jobs:
with:
python-version: "3.10"
- name: Install pypa/build
run: make .venv && VIRTUAL_ENV=./.venv
run: pip install rust-just && just ci-setup
- name: Build a binary wheel
run: source .venv/bin/activate && python3 -m build -w "."
run: uv build .
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down
61 changes: 0 additions & 61 deletions Makefile

This file was deleted.

27 changes: 27 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
_default:
just --list

venv:
uv sync

pre-commit:
uv sync
uv run ruff format .
uv run ruff check .
uv run pyright .

ci-setup:
pip install uv
uv sync

ci-check:
uv run ruff format --check .
uv run ruff check .
uv run pyright .

clean:
@rm -rf .venv/
@rm -rf .mypy_cache/
@rm -rf .pytest_cache/
@rm -rf .ruff_cache/
@rm -rf dagster_uc.egg-info/
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ dependencies = [
"pytz"
]

[tool.uv]
dev-dependencies = [
"ruff",
"pyright",
"pytest",
"pip",
"build"
]

[project.urls]
Homepage = "https://github.com/ASML-Labs/dagster-uc"
Issues = "https://github.com/ASML-Labs/dagster-uc/issues"
Expand Down
8 changes: 0 additions & 8 deletions requirements.txt

This file was deleted.

Loading