Skip to content

Commit

Permalink
🧪 only pytest every hour instead of every 15min
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed May 29, 2024
1 parent 2932719 commit da37a00
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/auto-tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: 🔁 Pytest ⏳x15
name: 🔁 Pytest ⏳x60

on:
schedule:
- cron: '*/15 * * * *'
- cron: "0 * * * *"

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: eifinger/setup-rye@v1
with:
enable_cache: true
cache_prefix: 'venv-codeboxapi'
- name: Sync rye
run: rye sync
- name: Run Pytest
env:
CODEBOX_API_KEY: ${{ secrets.CODEBOX_API_KEY }}
run: rye run pytest
- uses: actions/checkout@v2
- uses: eifinger/setup-rye@v1
with:
enable_cache: true
cache_prefix: "venv-codeboxapi"
- name: Sync rye
run: rye sync
- name: Run Pytest
env:
CODEBOX_API_KEY: ${{ secrets.CODEBOX_API_KEY }}
run: rye run pytest

0 comments on commit da37a00

Please sign in to comment.