ci(tests): Cleanup workflow runs#231
ci(tests): Cleanup workflow runs#231crankynetman wants to merge 17 commits intotopic/chriscummings/uv-workspaces-djangofrom
Conversation
…1 directory (#227) Bumps the uv group with 1 update in the / directory: [tornado](https://github.com/tornadoweb/tornado). Updates `tornado` from 6.5.4 to 6.5.5 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst">tornado's changelog</a>.</em></p> <blockquote> <h1>Release notes</h1> <p>.. toctree:: :maxdepth: 2</p> <p>releases/v6.5.5 releases/v6.5.4 releases/v6.5.3 releases/v6.5.2 releases/v6.5.1 releases/v6.5.0 releases/v6.4.2 releases/v6.4.1 releases/v6.4.0 releases/v6.3.3 releases/v6.3.2 releases/v6.3.1 releases/v6.3.0 releases/v6.2.0 releases/v6.1.0 releases/v6.0.4 releases/v6.0.3 releases/v6.0.2 releases/v6.0.1 releases/v6.0.0 releases/v5.1.1 releases/v5.1.0 releases/v5.0.2 releases/v5.0.1 releases/v5.0.0 releases/v4.5.3 releases/v4.5.2 releases/v4.5.1 releases/v4.5.0 releases/v4.4.3 releases/v4.4.2 releases/v4.4.1 releases/v4.4.0 releases/v4.3.0 releases/v4.2.1 releases/v4.2.0 releases/v4.1.0 releases/v4.0.2 releases/v4.0.1 releases/v4.0.0 releases/v3.2.2 releases/v3.2.1 releases/v3.2.0 releases/v3.1.1</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tornadoweb/tornado/commit/7d6465056ceb7a054b3f64cf1c18271753b10482"><code>7d64650</code></a> Merge pull request <a href="https://redirect.github.com/tornadoweb/tornado/issues/3586">#3586</a> from bdarnell/update-cibw</li> <li><a href="https://github.com/tornadoweb/tornado/commit/d05d59b8080a0d5d6a260994c7aad7049209d345"><code>d05d59b</code></a> build: Bump cibuildwheel to 3.4.0</li> <li><a href="https://github.com/tornadoweb/tornado/commit/c2f46732b0ad14bf0db4219c96a945f4b60205f5"><code>c2f4673</code></a> Merge pull request <a href="https://redirect.github.com/tornadoweb/tornado/issues/3585">#3585</a> from bdarnell/release-655</li> <li><a href="https://github.com/tornadoweb/tornado/commit/e5f1aa4b6fa2c16b29024830227838fcb0c79b6f"><code>e5f1aa4</code></a> Release notes and version bump for v6.5.5</li> <li><a href="https://github.com/tornadoweb/tornado/commit/78a046f99f89977dfc8ff5a1fe16d298afbeeaca"><code>78a046f</code></a> httputil: Add CRLF to _FORBIDDEN_HEADER_CHARS_RE</li> <li><a href="https://github.com/tornadoweb/tornado/commit/24a2d96ea115f663b223887deb0060f13974c104"><code>24a2d96</code></a> web: Validate characters in all cookie attributes.</li> <li><a href="https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839"><code>119a195</code></a> httputil: Add limits on multipart form data parsing</li> <li>See full diff in <a href="https://github.com/tornadoweb/tornado/compare/v6.5.4...v6.5.5">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/esnet-security/SCRAM/network/alerts). </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris Cummings <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
Scheduler Coverage
Minimum allowed coverage is Generated by 🐒 cobertura-action against c7d15e9 |
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…net-security/SCRAM into topic/chriscummings/cleanup-test-runs
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
Scripts Coverage
Minimum allowed coverage is Generated by 🐒 cobertura-action against c7d15e9 |
|
Django Coverage
Minimum allowed coverage is Generated by 🐒 cobertura-action against c7d15e9 |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
Translator Coverage
Minimum allowed coverage is Generated by 🐒 cobertura-action against c7d15e9 |
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
There was a problem hiding this comment.
this concurrency is a bit fuzzy to me. my best guess is that we run all the workflow file for a specific PR concurrently. so for example this whole django workflow would run concurrently for a given PR and cancel any other jobs if one fails?
| @$(ACT) push --workflows .github/workflows/scheduler.yml | ||
| @$(ACT) push --workflows .github/workflows/translator.yml | ||
| @$(ACT) push --workflows .github/workflows/django.yml | ||
| # @$(ACT) push --workflows .github/workflows/type-check.yml |
There was a problem hiding this comment.
Can we remove commented out code?
|
I see the 4 neutral checks that say "Run Scheduler Tests" but then they are actually for different coverages. i cant quite figure out why, but it would be nice to see that cleaned up. |
This PR cleans up our workflows to run on a per-app basis and upload things in the same manner. It also renames all of the make targets to
test-applicationto get ride of behave vs pytest and all the confusion there. Now it just runs the tests for one of the applications. You can still call pytest and behave but the targets are all simplified.Finally, this adds a make target
ci-act(actneeds to be installed via brew locally) which allows you to test GH actions locally. Works pretty well.I also restructured the Makefile. It was way too out of order and the names didn't make sense anymore as we've scaled things. Changes are:
Renamed:
Removed:
Added/Significantly modified:
behave-translator. This wasn't added, but now it has coverage, doesn't just run tests.
test-django. runs all tests for django (pytest-django + behave-django + integration-django)
test-translator: builds/runs stack + runs behave-translator
test: runs all four test-* targets (so in theory ALL test types)
ci-test: runs all CI workflows locally via act (old ci-test didn't mirror CI at all).
behave-translator-feature. Allows you to run just one behave feature for translator.
Should close #200 and #219.