33 lines
663 B
YAML
33 lines
663 B
YAML
name: quality-gate
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
pull_request:
|
|
|
|
jobs:
|
|
gate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -r requirements.txt
|
|
python -m pip install pytest ruff
|
|
|
|
- name: Run release quality gate
|
|
env:
|
|
SIMPLE_ITERATOR_SKIP_NODE_IMPORT: "1"
|
|
run: |
|
|
python scripts/release_gate.py
|