File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,25 @@ jobs:
2222 path : ~/.cache/uv
2323 key : ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles('pyproject.toml') }}
2424
25- - name : Check
25+ - name : Generate Project with Cookiecutter
2626 run : |
2727 ls -l
2828 cookiecutter --no-input .
2929 cd name-of-the-project
30+
31+ - name : Create Virtual Environment for UV
32+ run : |
33+ cd name-of-the-project
34+ uv venv .venv # Criando ambiente virtual
35+ echo "VIRTUAL_ENV=$(pwd)/.venv" >> $GITHUB_ENV
36+ echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
37+
38+ - name : Install Dependencies
39+ run : |
40+ cd name-of-the-project
3041 uv pip install -e ".[dev]"
42+
43+ - name : Run Tests
44+ run : |
45+ cd name-of-the-project
3146 make test
You can’t perform that action at this time.
0 commit comments