Add CI release workflows#1
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds multiple GitHub Actions workflows intended to provide CI, E2E testing, accessibility checks, monitoring smoke tests, and tag-based release artifact builds.
Changes:
- Introduces a tag-triggered
Releaseworkflow that builds and uploads artifacts. - Adds
CI,E2E Tests, andMonitoring smoke testsworkflows built around Python/pytest (and Playwright for E2E). - Adds an
Accessibility checksworkflow that runs Node-based frontend accessibility tests.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/release.yml | Adds a tag-based release build workflow with a matrix build and artifact upload. |
| .github/workflows/monitoring-smoke.yml | Adds a scheduled/manual smoke test workflow using pytest. |
| .github/workflows/e2e.yml | Adds an E2E workflow using pytest + Playwright. |
| .github/workflows/ci.yml | Adds a cross-OS, multi-Python-version CI workflow with lint/type-check/test steps. |
| .github/workflows/accessibility.yml | Adds a Node-based accessibility test workflow scoped to a frontend directory. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
+14
| platform: [linux, macos, windows] | ||
| os_runner: [ubuntu-latest, macos-latest, windows-latest] |
Comment on lines
+33
to
+39
| bash scripts/build_${{ matrix.platform }}.sh | ||
|
|
||
| - name: Build on Windows | ||
| if: matrix.platform == 'windows' | ||
| shell: pwsh | ||
| run: | | ||
| ./scripts/build_windows.ps1 |
Comment on lines
+19
to
+25
| - name: Install deps | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install pytest | ||
| - name: Run smoke tests | ||
| run: | | ||
| pytest -q |
| playwright install --with-deps | ||
| - name: Run E2E tests | ||
| run: | | ||
| pytest -q tests/e2e |
Comment on lines
+33
to
+34
| pip install -r requirements.txt || true | ||
| pip install black flake8 mypy pytest || true |
Comment on lines
+37
to
+43
| run: black --check . || true | ||
|
|
||
| - name: Lint: flake8 | ||
| run: flake8 . || true | ||
|
|
||
| - name: Type check | ||
| run: mypy src || true |
| PY | ||
|
|
||
| - name: Run tests | ||
| run: pytest -q |
Comment on lines
+17
to
+22
| - name: Run frontend accessibility tests | ||
| working-directory: src/ui/frontend | ||
| run: | | ||
| npm ci --prefer-offline --no-audit | ||
| npx playwright install --with-deps | ||
| npm run test:accessibility |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds release and E2E workflows to produce installers and run tests.