From 24710011dde87fb32a9357fc2e520f0c14079520 Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Mon, 28 Oct 2024 18:29:22 +0700 Subject: [PATCH] Remove python seed generator comparison. --- .github/workflows/lint-github-actions.yml | 2 +- .github/workflows/merge-group-stubs.yml | 14 ++++++++++++++ .../{test-src.yml => test-griffin-package.yml} | 15 ++------------- .../{test.yml => test-python-generator.yml} | 5 +++-- 4 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/merge-group-stubs.yml rename .github/workflows/{test-src.yml => test-griffin-package.yml} (50%) rename .github/workflows/{test.yml => test-python-generator.yml} (97%) diff --git a/.github/workflows/lint-github-actions.yml b/.github/workflows/lint-github-actions.yml index 16b0f012..4582555c 100644 --- a/.github/workflows/lint-github-actions.yml +++ b/.github/workflows/lint-github-actions.yml @@ -6,7 +6,7 @@ on: - '.github/workflows/**' jobs: - build: + lint-github-actions: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/merge-group-stubs.yml b/.github/workflows/merge-group-stubs.yml new file mode 100644 index 00000000..7dee7c35 --- /dev/null +++ b/.github/workflows/merge-group-stubs.yml @@ -0,0 +1,14 @@ +name: Merge Queue Stubs + +on: + pull_request: + merge_group: + +# Run jobs that are required in PR, but not in the merge queue. +jobs: + lint-github-actions: + runs-on: ubuntu-latest + + steps: + - name: Do nothing + run: exit 0 diff --git a/.github/workflows/test-src.yml b/.github/workflows/test-griffin-package.yml similarity index 50% rename from .github/workflows/test-src.yml rename to .github/workflows/test-griffin-package.yml index d091ba01..9676dd27 100644 --- a/.github/workflows/test-src.yml +++ b/.github/workflows/test-griffin-package.yml @@ -1,11 +1,11 @@ -name: Tracker&Griffin tests +name: Test Griffin Package on: pull_request: merge_group: jobs: - build: + test-griffin-package: runs-on: ubuntu-latest steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 @@ -24,14 +24,3 @@ jobs: - name: build run: npm run build - - - name: Setup Python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5 - with: - python-version: '3.11' - - - name: Install python seed generator requirements - run: pip install -r seed/requirements.txt - - - name: Compare python and typescript seed generator - run: npm run seed_tools compare_python_gen diff --git a/.github/workflows/test.yml b/.github/workflows/test-python-generator.yml similarity index 97% rename from .github/workflows/test.yml rename to .github/workflows/test-python-generator.yml index 389e349a..4c6dab1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test-python-generator.yml @@ -2,10 +2,11 @@ name: Test on: pull_request: - merge_group: + paths: + - 'seed/**' jobs: - test: + test-python-generator: runs-on: ubuntu-latest steps: