Skip to content

Commit da37a00

Browse files
committed
🧪 only pytest every hour instead of every 15min
1 parent 2932719 commit da37a00

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/auto-tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: 🔁 Pytest ⏳x15
1+
name: 🔁 Pytest ⏳x60
22

33
on:
44
schedule:
5-
- cron: '*/15 * * * *'
5+
- cron: "0 * * * *"
66

77
jobs:
88
test:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: eifinger/setup-rye@v1
14-
with:
15-
enable_cache: true
16-
cache_prefix: 'venv-codeboxapi'
17-
- name: Sync rye
18-
run: rye sync
19-
- name: Run Pytest
20-
env:
21-
CODEBOX_API_KEY: ${{ secrets.CODEBOX_API_KEY }}
22-
run: rye run pytest
12+
- uses: actions/checkout@v2
13+
- uses: eifinger/setup-rye@v1
14+
with:
15+
enable_cache: true
16+
cache_prefix: "venv-codeboxapi"
17+
- name: Sync rye
18+
run: rye sync
19+
- name: Run Pytest
20+
env:
21+
CODEBOX_API_KEY: ${{ secrets.CODEBOX_API_KEY }}
22+
run: rye run pytest

0 commit comments

Comments
 (0)