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

CI: Introduce commands workflow to run on Linux, Mac and Windows #121

Closed
wants to merge 15 commits into from

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Oct 27, 2022

What this PR does / why we need it:
Introduces a new "commands" workflow to validate the commands in the bundled packages work on all flavours of OS. This should help us catch issues with cross operating system compatibility without the need for firing up virtual machines locally.

It also bumps the versions of the actions used as per #114

@jackw jackw self-assigned this Oct 27, 2022
@mckn mckn self-requested a review October 27, 2022 09:05
Copy link
Collaborator

@mckn mckn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!! Love it <3

Copy link
Collaborator

@leventebalogh leventebalogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👏

I think it would make sense to merge this as it is (even with just a single OS in the matrix if the others wouldn't work out of the box), and then we have a base to extend with future PRs?

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we extend it with macos-latest at least? (I am not sure windows-latest would work out of the box as well, but maybe it should?)

# env:
# GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }}
# run: node ../../sign-plugin/dist/bin/run.js --rootUrls http://www.example.com --signatureType private
# working-directory: ./packages/create-plugin/generated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we get rid of this commented out code?

@jackw
Copy link
Collaborator Author

jackw commented May 23, 2023

I'm closing this for now. Until we find a way around bypassing conditional prompts I can't see a way forward for this.

@jackw jackw closed this May 23, 2023
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.

3 participants