We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a259c3 commit c51f7adCopy full SHA for c51f7ad
.github/workflows/build.yml
@@ -1,3 +1,11 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
jobs:
10
build:
11
runs-on: ubuntu-latest
@@ -25,7 +33,7 @@ jobs:
25
33
26
34
- name: Wait for MySQL to be ready
27
35
run: |
28
- until mysqladmin ping -h localhost -u sampleuser -p"samplepassword" --silent; do
36
+ until mysqladmin ping -h mysql -u sampleuser -p"samplepassword" --silent; do
29
37
echo "Waiting for MySQL to be ready..."
30
38
sleep 2
31
39
done
@@ -34,4 +42,11 @@ jobs:
42
run: ./gradlew build
43
44
- name: Run JaCoCo Test Report
- run: ./gradlew jacocoTestReport
45
+ run: ./gradlew jacocoTestReport
46
47
+ - name: Upload JaCoCo Test Report
48
+ uses: actions/upload-artifact@v3
49
+ with:
50
+ name: jacoco-report
51
+ path: build/reports/jacoco/test/html
52
0 commit comments