Skip to content

Commit 2740b4c

Browse files
authored
move data validation to its own action (#3664)
1 parent 4756b7a commit 2740b4c

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

.github/workflows/ci-pr-data.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "[CI] Test PR Data"
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "src/cfnlint/data/**"
7+
8+
jobs:
9+
data:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Setup Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.11"
17+
- name: Install Tox and any other packages
18+
run: pip install tox
19+
- name: Run Tox
20+
run: |
21+
tox -e py -- -m "data"

.github/workflows/ci-pr.yaml

-13
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,6 @@ jobs:
4040
with:
4141
name: pr
4242
path: pr/
43-
data:
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/checkout@v4
47-
- name: Setup Python
48-
uses: actions/setup-python@v5
49-
with:
50-
python-version: "3.11"
51-
- name: Install Tox and any other packages
52-
run: pip install tox
53-
- name: Run Tox
54-
run: |
55-
tox -e py -- -m "data"
5643
integration:
5744
runs-on: ${{ matrix.os }}
5845
strategy:

0 commit comments

Comments
 (0)