Skip to content

Commit

Permalink
fix: try ignoring the .mock folder, whos diff doesn't matter (#3465)
Browse files Browse the repository at this point in the history
* fix: try ignoring the .mock folder, whos diff doesn't matter

* Update seed.yml

* Update seed.yml

* Update seed.yml
  • Loading branch information
armandobelardo authored Apr 25, 2024
1 parent de12b27 commit b885903
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
yarn seed:local test --generator ruby-model
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

ruby-sdk:
runs-on: ubuntu-latest
Expand All @@ -119,7 +119,7 @@ jobs:
yarn seed:local test --generator ruby-sdk
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

pydantic-model:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
yarn seed:local test --generator pydantic
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

python-sdk:
runs-on: Seed
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
yarn seed:local test --generator python-sdk --parallel 10
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

fastapi:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
yarn seed:local test --generator fastapi
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

openapi:
runs-on: ubuntu-latest
Expand All @@ -240,7 +240,7 @@ jobs:
yarn seed:local test --generator openapi
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

postman:
runs-on: ubuntu-latest
Expand All @@ -265,7 +265,7 @@ jobs:
yarn seed:local test --generator postman
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

java-sdk:
runs-on: Seed
Expand All @@ -290,7 +290,7 @@ jobs:
yarn seed:local test --generator java-sdk --parallel 10
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

java-model:
runs-on: Seed
Expand All @@ -315,7 +315,7 @@ jobs:
yarn seed:local test --generator java-model --parallel 10
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

java-spring:
runs-on: ubuntu-latest
Expand All @@ -340,7 +340,7 @@ jobs:
yarn seed:local test --generator java-spring
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

typescript-sdk:
runs-on: Seed
Expand All @@ -365,7 +365,7 @@ jobs:
yarn seed:local test --generator ts-sdk
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

typescript-express:
runs-on: ubuntu-latest
Expand All @@ -390,7 +390,7 @@ jobs:
yarn seed:local test --generator ts-express --parallel 1
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

go-fiber:
runs-on: ubuntu-latest
Expand All @@ -415,7 +415,7 @@ jobs:
yarn seed:local test --generator go-fiber --parallel 16
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

go-model:
runs-on: ubuntu-latest
Expand All @@ -440,7 +440,7 @@ jobs:
yarn seed:local test --generator go-model --parallel 16
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

go-sdk:
runs-on: ubuntu-latest
Expand All @@ -465,7 +465,7 @@ jobs:
yarn seed:local test --generator go-sdk --parallel 16
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

csharp-model:
runs-on: ubuntu-latest
Expand All @@ -490,7 +490,7 @@ jobs:
yarn seed:local test --generator csharp-model --parallel 16
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

csharp-sdk:
runs-on: ubuntu-latest
Expand All @@ -515,4 +515,4 @@ jobs:
yarn seed:local test --generator csharp-sdk --parallel 16
- name: Ensure no changes to git-tracked files
run: git --no-pager diff --exit-code
run: git --no-pager diff --exit-code -- ":(exclude)seed/*/.mock/*"

0 comments on commit b885903

Please sign in to comment.