Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato authored Apr 23, 2024
1 parent a447026 commit 0cf0023
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: test

on:
pull_request:
paths:
- '**.go'
- 'go.*'
- .github/workflows/test.yml
push:
branches:
- main
Expand All @@ -16,24 +12,26 @@ jobs:
e2e: ${{steps.changes.outputs.e2e}}
runs-on: ubuntu-latest
steps:
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
test:
- '**.go'
- 'go.*'
- .github/workflows/test.yml
e2e:
- Dockerfile
- .github/workflows/test.yml
- config/crd/**
- tests/e2e/**
- internal/**
- '**.go'
- 'go.*'
- kuttl-test.yaml
- skaffold.yaml
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4

- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
test:
- '**.go'
- 'go.*'
- .github/workflows/test.yml
e2e:
- Dockerfile
- .github/workflows/test.yml
- config/crd/**
- tests/e2e/**
- internal/**
- '**.go'
- 'go.*'
- kuttl-test.yaml
- skaffold.yaml
status-check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0cf0023

Please sign in to comment.