Skip to content

feat: Filter out the metrics of get requests #61

feat: Filter out the metrics of get requests

feat: Filter out the metrics of get requests #61

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Test
on: [pull_request, workflow_dispatch]
permissions:
checks: write
jobs:
Unit-Test:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17 ]
steps:
- uses: actions/checkout@v3
- name: "Test for JDK ${{ matrix.java-version }}"
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean test
- name: Codecov
uses: codecov/[email protected]
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'