Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: create self-test workflow to run in main #1110

Merged
merged 3 commits into from Mar 28, 2022

Conversation

dbjorge
Copy link
Contributor

@dbjorge dbjorge commented Mar 28, 2022

Details

We used to run a self-test of the GitHub action in our PR/CI builds, but disabled it due to #629 preventing it from working in PR builds.

However, I think it would still be valuable to run in CI builds against main, even if we can't run it with PRs yet. This restores it in a separate workflow that only triggers on pushes to main (not PRs).

Motivation

Maintain ongoing validation that we haven't broken the action.

Context

n/a

Pull request checklist

  • [n/a] Addresses an existing issue: Fixes #0000
  • [n/a] Added relevant unit test for your changes. (yarn test)
  • [n/a] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
  • Ran precheckin (yarn precheckin)

@dbjorge dbjorge requested a review from a team as a code owner March 28, 2022 18:40
@dbjorge dbjorge merged commit 0f99f92 into microsoft:main Mar 28, 2022
dbjorge added a commit that referenced this pull request Mar 28, 2022
#### Details

This is a followup to #1110 which fixes a half-reverted change I'd been trying out to use a matrix of node versions to test with

##### Motivation

Fixes https://github.com/microsoft/accessibility-insights-action/runs/5726695339?check_suite_focus=true

##### Context

see #1110

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox -->
- [n/a] Addresses an existing issue: Fixes #0000
- [n/a] Added relevant unit test for your changes. (`yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage`
- [x] Ran precheckin (`yarn precheckin`)
dbjorge added a commit that referenced this pull request Mar 28, 2022
#### Details

The self test workflow added today in #1110 and #1111 uncovered issue #1112 when I tried to use a matrix strategy to test it across both ubuntu and windows agents. This PR disables the matrix strategy as a workaround until we fix #1112.

##### Motivation

Unblock self-test workflow

##### Context

n/a

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox -->
- [n/a] Addresses an existing issue: Fixes #0000
- [n/a] Added relevant unit test for your changes. (`yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage`
- [x] Ran precheckin (`yarn precheckin`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants