Exclude docs from universe and integration tests

Any cue file created in the docs triggered these tests. It shouldn't.

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume 2022-03-30 16:32:12 +02:00
parent 2f4cea5635
commit d5149823cc
2 changed files with 42 additions and 36 deletions

View File

@ -4,27 +4,30 @@ on:
push: push:
branches: [main] branches: [main]
paths: paths:
- '**.sh' - "**.sh"
- '**.bash' - "**.bash"
- '**.go' - "**.go"
- '**.cue' - "**.cue"
- '**.bats' - "**.bats"
- 'Makefile' - "Makefile"
- 'go.mod' - "go.mod"
- 'go.sum' - "go.sum"
- '.github/workflows/test-integration.yml' - ".github/workflows/test-integration.yml"
- "!docs/**"
pull_request: pull_request:
branches: [main] branches: [main]
paths: paths:
- '**.sh' - "**.sh"
- '**.bash' - "**.bash"
- '**.go' - "**.go"
- '**.cue' - "**.cue"
- '**.bats' - "**.bats"
- 'Makefile' - "Makefile"
- 'go.mod' - "go.mod"
- 'go.sum' - "go.sum"
- '.github/workflows/test-integration.yml' - ".github/workflows/test-integration.yml"
- "!docs/**"
jobs: jobs:
test-integration: test-integration:

View File

@ -4,27 +4,30 @@ on:
push: push:
branches: [main] branches: [main]
paths: paths:
- '**.sh' - "**.sh"
- '**.bash' - "**.bash"
- '**.go' - "**.go"
- '**.cue' - "**.cue"
- '**.bats' - "**.bats"
- 'Makefile' - "Makefile"
- 'go.mod' - "go.mod"
- 'go.sum' - "go.sum"
- '.github/workflows/test-universe.yml' - ".github/workflows/test-universe.yml"
- "!docs/**"
pull_request: pull_request:
branches: [main] branches: [main]
paths: paths:
- '**.sh' - "**.sh"
- '**.bash' - "**.bash"
- '**.go' - "**.go"
- '**.cue' - "**.cue"
- '**.bats' - "**.bats"
- 'Makefile' - "Makefile"
- 'go.mod' - "go.mod"
- 'go.sum' - "go.sum"
- '.github/workflows/test-universe.yml' - ".github/workflows/test-universe.yml"
- "!docs/**"
jobs: jobs:
universe-europa-tests: universe-europa-tests: