Skip to content

Commit

Permalink
ci: better paths-ignore for workflows (prisma#4330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 authored Oct 6, 2023
1 parent 0eead1d commit 21eaab7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/driver-adapter-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
pull_request:
paths-ignore:
- '.github/**'
- '!.github/workflows/driver-adapter-smoke-tests.yml'
- '.buildkite/**'
- '*.md'
- 'LICENSE'
Expand All @@ -18,8 +20,8 @@ jobs:
strategy:
fail-fast: false
matrix:
adapter: ["neon:ws", "neon:http", planetscale, pg, libsql]
adapter: ['neon:ws', 'neon:http', planetscale, pg, libsql]

runs-on: ubuntu-latest

services:
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
- main
pull_request:
paths-ignore:
- '.github/**'
- '!.github/workflows/unit-tests.yml'
- '.buildkite/**'
- '*.md'
- 'LICENSE'
Expand All @@ -28,16 +30,16 @@ jobs:
- uses: dtolnay/rust-toolchain@stable

- run: |
cargo test --workspace \
--exclude=quaint \
--exclude=query-engine \
--exclude=query-engine-node-api \
--exclude=black-box-tests \
--exclude=query-engine-tests \
--exclude=sql-migration-tests \
--exclude=schema-engine-cli \
--exclude=sql-schema-describer \
--exclude=sql-introspection-tests \
--exclude=mongodb-schema-connector
cargo test --workspace \
--exclude=quaint \
--exclude=query-engine \
--exclude=query-engine-node-api \
--exclude=black-box-tests \
--exclude=query-engine-tests \
--exclude=sql-migration-tests \
--exclude=schema-engine-cli \
--exclude=sql-schema-describer \
--exclude=sql-introspection-tests \
--exclude=mongodb-schema-connector
env:
CLICOLOR_FORCE: 1

0 comments on commit 21eaab7

Please sign in to comment.