From 8c6db44dfe18fa0e4a36df4c945f7dab6f867c2f Mon Sep 17 00:00:00 2001 From: jakobma Date: Fri, 13 Oct 2023 17:31:47 +0200 Subject: [PATCH] schedule is now working --- .github/workflows/cronjob.yml | 26 -------------------------- .github/workflows/playwright.yml | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 .github/workflows/cronjob.yml diff --git a/.github/workflows/cronjob.yml b/.github/workflows/cronjob.yml deleted file mode 100644 index 218f91c..0000000 --- a/.github/workflows/cronjob.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Scheduled Tests -on: - schedule: - - cron: '25 15 * * 1-5' -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30npm login - diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 1349452..b427c8b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -4,7 +4,7 @@ on: push: branches: [ main, master, dev ] schedule: - - cron: '20 15 * * 1-5' + - cron: '* 6 * * 1-5' jobs: test: timeout-minutes: 60