File tree Expand file tree Collapse file tree 1 file changed +21
-16
lines changed
Expand file tree Collapse file tree 1 file changed +21
-16
lines changed Original file line number Diff line number Diff line change 88 type : string
99
1010jobs :
11- setup :
11+ build-and-test :
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- # Step 1: Checkout the specified branch
16- - name : Checkout branch ${{ inputs.branch }}
17- uses : actions/checkout@v3
18- with :
19- ref : ${{ inputs.branch }}
20- fetch-depth : 0
21- clean : true
22-
2315 # Set up Node.js
2416 - name : Set up Node.js
2517 uses : actions/setup-node@v3
@@ -47,19 +39,32 @@ jobs:
4739 run : mvn --version
4840
4941 # ache Maven dependencies
50- - name : Cache Maven dependencies
51- uses : actions/cache@v3
52- with :
53- path : ~/.m2
54- key : ${{ runner.os }}-maven-${{ inputs.branch }}-${{ hashFiles('**/pom.xml') }}
55- restore-keys : |
56- ${{ runner.os }}-maven
42+ # - name: Cache Maven dependencies
43+ # uses: actions/cache@v3
44+ # with:
45+ # path: ~/.m2
46+ # key: ${{ runner.os }}-maven-${{ inputs.branch }}-${{ hashFiles('**/pom.xml') }}
47+ # restore-keys: |
48+ # ${{ runner.os }}-maven
5749
5850 # Install Playwright dependencies
5951 - name : Install Playwright dependencies
6052 run : npx playwright install-deps
6153
54+ - name : Show Project Structure
55+ run : |
56+ echo "Project structure for branch ${{ inputs.branch}}:"
57+ find . -name "*.java" | sed 's|[^/]*/| |g'
58+
59+ # Checkout the specified branch
60+ - name : Checkout branch ${{ inputs.branch }}
61+ uses : actions/checkout@v3
62+ with :
63+ ref : ${{ inputs.branch }}
64+ fetch-depth : 0
65+ clean : true
6266
67+ # Run the test suite
6368 - name : Run Playwright Tests
6469 run : |
6570 echo "Running tests for branch ${{ inputs.branch }}"
You can’t perform that action at this time.
0 commit comments