Skip to content

Commit 46719a3

Browse files
committed
Fix pytest
1 parent 37d542e commit 46719a3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/pytest.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Pytest
22

3-
env:
4-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3+
4+
env:
5+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
56

67
on:
78
push:
@@ -44,5 +45,7 @@ jobs:
4445
- name: Install dependencies
4546
run: |
4647
uv pip install --python $(which python) -e '.[dev]'
48+
- name: Write .env with GH_TOKEN
49+
run: echo "GITHUB_TOKEN=${GH_TOKEN}" > .env
4750
- name: Run pytest
4851
run: pytest -v --cov --cov-branch --cov-report=xml -n auto

0 commit comments

Comments
 (0)