File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 3939 - sample-code/end-to-end
4040 continue-on-error : true # Allow the job to continue even if one branch fails
4141 steps :
42+ # Clean workspace
43+ - name : Clean up any existing files
44+ run : |
45+ echo "Cleaning up existing files"
46+ rm -rf *
47+ ls -a
48+
4249 # Check out the repository code for the specific branch
43- - name : Checkout repository
50+ - name : Checkout branch ${{ matrix.branch }}
4451 uses : actions/checkout@v4
4552 with :
4653 fetch-depth : 0
5461 run : |
5562 echo "Current branch: ${{ matrix.branch }}"
5663
64+ # Step 3: Confirm the branch and files
65+ - name : Confirm Branch and Files
66+ run : |
67+ echo "Current branch: ${{ matrix.branch }}"
68+ git branch
69+ ls -R .
70+
5771 # Set up Node.js
5872 - name : Set up Node.js
5973 uses : actions/setup-node@v3
6276
6377 # Set up JDK 17
6478 - name : Set up JDK 17
65- uses : actions/setup-java@v3
79+ uses : actions/setup-java@v4
6680 with :
6781 java-version : ' 17'
6882 distribution : ' adopt'
95109
96110 # Run Maven to execute Playwright tests
97111 - name : Run Playwright Tests
98- run : mvn verify
112+ run : |
113+ echo "Running tests for branch ${{ matrix.branch }}"
114+ mvn verify
You can’t perform that action at this time.
0 commit comments