Skip to content

Commit 49ffddd

Browse files
ci: Only run tests when relevant code changes
1 parent cdcbe83 commit 49ffddd

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Diff for: .github/workflows/test.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
name: Test target-snowflake
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- .github/workflows/test.yml
8+
- target_snowflake/**
9+
- tests/**
10+
- poetry.lock
11+
- pyproject.toml
12+
- tox.ini
13+
pull_request:
14+
branches: [main]
15+
paths:
16+
- .github/workflows/test.yml
17+
- target_snowflake/**
18+
- tests/**
19+
- poetry.lock
20+
- pyproject.toml
21+
- tox.ini
422

523
concurrency:
624
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)