Skip to content

Commit 6d99106

Browse files
committed
ci: secrets
1 parent ac19836 commit 6d99106

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
branches:
66
- master
77

8-
env:
9-
GITCODE_BASE_URL: "https://api.gitcode.com/api/v5"
10-
GITCODE_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITCODE_PERSONAL_ACCESS_TOKEN }}
11-
GITCODE_PERSONAL_OWNER: "chaocw"
12-
138
jobs:
149
test:
1510
runs-on: ubuntu-latest
@@ -28,6 +23,10 @@ jobs:
2823
run: uv sync --locked --all-extras --dev
2924

3025
- name: Run tests
26+
env:
27+
GITCODE_BASE_URL: "https://api.gitcode.com/api/v5"
28+
GITCODE_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITCODE_PERSONAL_ACCESS_TOKEN }}
29+
GITCODE_PERSONAL_OWNER: "chaocw"
3130
run: uv run pytest tests --alluredir=allure-results
3231

3332
- name: Load test report history

0 commit comments

Comments
 (0)