Compare commits
2 commits
a954f56c5a
...
0c76ba39b8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c76ba39b8 | ||
|
|
a608fdd6f5 |
2 changed files with 6 additions and 1 deletions
|
|
@ -9,3 +9,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v6
|
- uses: https://code.forgejo.org/actions/checkout@v6
|
||||||
- uses: https://github.com/j178/prek-action@v1
|
- uses: https://github.com/j178/prek-action@v1
|
||||||
|
with:
|
||||||
|
install-only: true
|
||||||
|
- run: |
|
||||||
|
echo "we needs us a python interpreter"
|
||||||
|
echo "do we have `uv`?"
|
||||||
|
|
|
||||||
2
justfile
2
justfile
|
|
@ -19,7 +19,7 @@ run:
|
||||||
uv_export_options := "--frozen --format requirements.txt --quiet --no-install-project"
|
uv_export_options := "--frozen --format requirements.txt --quiet --no-install-project"
|
||||||
exports-deps:
|
exports-deps:
|
||||||
uv export {{ uv_export_options }} --output-file requirements.txt
|
uv export {{ uv_export_options }} --output-file requirements.txt
|
||||||
uv export {{ uv_export_options }} --only-dev --output-file requirements.dev.txt
|
uv export {{ uv_export_options }} --output-file requirements.dev.txt --only-dev
|
||||||
|
|
||||||
test *ARGS:
|
test *ARGS:
|
||||||
uv run pytest tests.py {{ ARGS }}
|
uv run pytest tests.py {{ ARGS }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue