From 2740b4c620876f3ab15f1c25ad4f9b84d0b64096 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Thu, 5 Sep 2024 17:56:04 -0700 Subject: [PATCH] move data validation to its own action (#3664) --- .github/workflows/ci-pr-data.yaml | 21 +++++++++++++++++++++ .github/workflows/ci-pr.yaml | 13 ------------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/ci-pr-data.yaml diff --git a/.github/workflows/ci-pr-data.yaml b/.github/workflows/ci-pr-data.yaml new file mode 100644 index 0000000000..07f3748cc1 --- /dev/null +++ b/.github/workflows/ci-pr-data.yaml @@ -0,0 +1,21 @@ +name: "[CI] Test PR Data" + +on: + pull_request: + paths: + - "src/cfnlint/data/**" + +jobs: + data: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install Tox and any other packages + run: pip install tox + - name: Run Tox + run: | + tox -e py -- -m "data" diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index 033b689187..5d4f80be4b 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -40,19 +40,6 @@ jobs: with: name: pr path: pr/ - data: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - name: Install Tox and any other packages - run: pip install tox - - name: Run Tox - run: | - tox -e py -- -m "data" integration: runs-on: ${{ matrix.os }} strategy: