Skip to content

Commit fd5b80c

Browse files
actions
1 parent 18800f1 commit fd5b80c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)