File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 1- name : Nightly Buildss
1+ name : Nightly Builds
22
33on :
4- workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 0 * * *' # Runs daily at midnight UTC
6+ workflow_dispatch : # Allows manual triggering of the workflow
57
68jobs :
79 build-main :
810 name : Build Main
9- uses : ./.github/workflows/setup.yml
11+ uses : ./.github/workflows/setup-and-test .yml
1012 with :
1113 branch : main
1214
1315 build-start-here :
1416 name : Build Start Here
15- uses : ./.github/workflows/setup.yml
17+ uses : ./.github/workflows/setup-and-test .yml
1618 with :
1719 branch : sample-code/start-here
1820
1921 build-module-3 :
2022 name : Build Module 3
21- uses : ./.github/workflows/setup.yml
23+ uses : ./.github/workflows/setup-and-test .yml
2224 with :
2325 branch : sample-code/module-3-my-first-playwright-test
2426
2527 build-module-4 :
2628 name : Build Module 4
27- uses : ./.github/workflows/setup.yml
29+ uses : ./.github/workflows/setup-and-test .yml
2830 with :
29- branch : sample-code/module-4-interacting-with-elements
31+ branch : sample-code/module-4-interacting-with-elements
32+
33+ build-module-5 :
34+ name : Build Module 5
35+ uses : ./.github/workflows/setup-and-test.yml
36+ with :
37+ branch : sample-code/module-5-refactoring
Original file line number Diff line number Diff line change 5757
5858 # Install Playwright dependencies
5959 - name : Install Playwright dependencies
60- run : npx playwright install-deps
60+ run : npx playwright install-deps
61+
62+
63+ - name : Run Playwright Tests
64+ run : |
65+ echo "Running tests for branch ${{ inputs.branch }}"
66+ mvn clean verify
You can’t perform that action at this time.
0 commit comments