diff --git a/.github/workflows/hatch-ci.yml b/.github/workflows/hatch-ci.yml new file mode 100644 index 000000000000..2e1283860156 --- /dev/null +++ b/.github/workflows/hatch-ci.yml @@ -0,0 +1,57 @@ +# Hatch. CI — Safety + TUI tests +# Managed by: PmoQa Department +# DO NOT MODIFY without PmoQa approval. + +name: Hatch. CI + +on: + pull_request: + branches: [dev] + push: + branches: [dev] + +concurrency: + group: hatch-ci-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + hatch-safety: + name: hatch-safety (341 tests) + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json + + - name: Install dependencies + run: bun install + + - name: Run hatch-safety tests + run: bun test + working-directory: packages/hatch-safety + + hatch-tui: + name: hatch-tui (108 tests) + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json + + - name: Install dependencies + run: bun install + + - name: Run hatch-tui tests + run: bun test + working-directory: packages/hatch-tui