Migrate GitHub Actions workflows and custom actions to Gitea, replacing .github directory with .gitea.
Build and Analyse / build-and-analyse (push) Successful in 43s
Build and Analyse / build-and-analyse (push) Successful in 43s
This commit is contained in:
@@ -17,19 +17,18 @@ jobs:
|
|||||||
build-and-analyse:
|
build-and-analyse:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
|
|
||||||
- name: Setup Java and Maven
|
- name: Setup Java and Maven
|
||||||
uses: ./.github/actions/setup-java-maven
|
uses: ./.gitea/actions/setup-java-maven
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: mvn -B verify
|
run: mvn -B verify
|
||||||
|
|
||||||
- name: Publish Test Report
|
- name: Publish Test Report
|
||||||
uses: ./.github/actions/publish-report/
|
uses: ./.gitea/actions/publish-report
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
report-name: Summary of JUnit Tests
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: develop
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# - name: hello
|
|
||||||
# image: alpine
|
|
||||||
# commands:
|
|
||||||
# - echo "Hello World!"
|
|
||||||
|
|
||||||
- name: maven verify
|
|
||||||
image: maven:3-amazoncorretto-17-alpine
|
|
||||||
commands:
|
|
||||||
- mvn -B verify
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 19 KiB |
@@ -1,36 +0,0 @@
|
|||||||
# Test Report
|
|
||||||
|
|
||||||
**✅ All tests passed**
|
|
||||||
|
|
||||||
## Test Results
|
|
||||||
|
|
||||||
| | Tests | Passed | Failed | Skipped |
|
|
||||||
|---|---|---|---|---|
|
|
||||||
| **Total** | 90 | 90 | 0 | 0 |
|
|
||||||
|
|
||||||
### Details
|
|
||||||
|
|
||||||
| Status | Suite | Tests | Passed | Failed | Skipped |
|
|
||||||
|---|---|---|---|---|---|
|
|
||||||
| ✅ | codes.thischwa.cf.CfBasicHttpClientTest | 9 | 9 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.CfClientPenTest | 0 | 0 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.CfClientTest | 0 | 0 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.CfDnsClientBuilderTest | 16 | 16 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.CfDnsClientMockTest | 16 | 16 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.CfRequestTest | 8 | 8 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.ObjectMapperTest | 2 | 2 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.ResponseValidatorTest | 8 | 8 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.fluent.FluentApiTest | 15 | 15 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.model.BatchEntryTest | 2 | 2 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.model.PagingRequestTest | 4 | 4 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.model.RecordEntityTest | 6 | 6 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.model.RecordTypeTest | 3 | 3 | 0 | 0 |
|
|
||||||
| ✅ | codes.thischwa.cf.model.ZoneEntityTest | 1 | 1 | 0 | 0 |
|
|
||||||
|
|
||||||
## Coverage
|
|
||||||
|
|
||||||
| Package | Line Coverage | Branch Coverage |
|
|
||||||
|---|---|---|
|
|
||||||
| codes.thischwa.cf.fluent | 100% (25/25) | 100% (4/4) |
|
|
||||||
| codes.thischwa.cf.model | 100% (93/93) | 90% (9/10) |
|
|
||||||
| codes.thischwa.cf | 89% (249/279) | 71% (51/72) |
|
|
||||||
Reference in New Issue
Block a user