File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,25 +12,25 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15- - uses : actions/setup-python@v6
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v5
1617 with :
17- python-version : ' 3.11'
18- cache : pipenv
19- - name : Install Pipenv
20- run : curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
21- - name : Install Dependencies
22- run : pipenv install --dev
18+ enable-cache : true
19+ - name : Install Python
20+ run : uv python install 3.11
21+ - name : Install dependencies
22+ run : uv sync
2323 - name : Run migrations
24- run : pipenv run python manage.py quicksetup --noindex
24+ run : uv run python manage.py quicksetup --noindex
2525 - name : Run Tests
2626 run : |
27- pipenv run python manage.py runserver 0.0.0.0:8000 &
27+ uv run python manage.py runserver 0.0.0.0:8000 &
2828 sleep 5 &&
29- pipenv run pytest
29+ uv run pytest
3030 - name : Validate Data
3131 run : |
32- pipenv run python ./scripts/data_test.py --dir ./data/v2 &
33- pipenv run python ./manage.py
32+ uv run python ./scripts/data_test.py --dir ./data/v2 &
33+ uv run python ./manage.py
3434 build :
3535 runs-on : ubuntu-latest
3636 steps :
You can’t perform that action at this time.
0 commit comments