diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 250975a4..d1c5ca6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,5 +43,22 @@ jobs: - name: Test and create coverage report run: | make test-unit-cover + if: env.GIT_DIFF + test-unit-e2e: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + check-latest: true + - uses: actions/checkout@v4 + - uses: technote-space/get-diff-action@v6.1.2 + with: + PATTERNS: | + **/**.go + go.mod + go.sum + - name: Test and create coverage report + run: | make test-unit-e2e if: env.GIT_DIFF