Skip to content

Commit 10a033c

Browse files
committed
fix(ci): add secrets
1 parent 7cfee38 commit 10a033c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10+
11+
- name: add secrets
12+
run: echo ${{ secrets.CONFIG }} > deploy/dev/ttt/secrets.yaml
13+
1014
- name: ruff
1115
run: docker compose -f deploy/dev/docker-compose.yaml run ttt ruff check src tests
1216

1317
mypy:
1418
runs-on: ubuntu-latest
1519
steps:
1620
- uses: actions/checkout@v4
21+
22+
- name: add secrets
23+
run: echo ${{ secrets.CONFIG }} > deploy/dev/ttt/secrets.yaml
24+
1725
- name: mypy
1826
run: docker compose -f deploy/dev/docker-compose.yaml run ttt mypy src tests
1927

@@ -22,6 +30,9 @@ jobs:
2230
steps:
2331
- uses: actions/checkout@v4
2432

33+
- name: add secrets
34+
run: echo ${{ secrets.CONFIG }} > deploy/dev/ttt/secrets.yaml
35+
2536
- name: pytest
2637
run: docker compose -f deploy/dev/docker-compose.yaml run ttt pytest tests --cov --cov-report=xml
2738

0 commit comments

Comments
 (0)