Teach backlog groomer to generate adoption and credibility issues #319
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Prepare CI artifact directory | |
| shell: bash | |
| run: | | |
| echo "CI_ARTIFACT_DIR=$RUNNER_TEMP/ci-artifacts" >> "$GITHUB_ENV" | |
| mkdir -p "$RUNNER_TEMP/ci-artifacts" | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| pip install -r requirements.txt pytest 2>&1 | tee "$CI_ARTIFACT_DIR/install.log" | |
| - name: Lint (syntax check) | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| python -m py_compile orchestrator/*.py 2>&1 | tee "$CI_ARTIFACT_DIR/lint.log" | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| pytest tests/ -v --junitxml="$CI_ARTIFACT_DIR/pytest.xml" 2>&1 | tee "$CI_ARTIFACT_DIR/pytest.log" | |
| - name: Upload failure artifacts | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr-ci-failure-${{ github.job }}-${{ github.run_attempt }} | |
| path: ${{ env.CI_ARTIFACT_DIR }} | |
| if-no-files-found: ignore |