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: run linting and tests in different jobs #51

Merged
merged 2 commits into from
Jun 19, 2024
Merged

ci: run linting and tests in different jobs #51

merged 2 commits into from
Jun 19, 2024

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Jun 19, 2024

This splits our CI up into multiple jobs which is both faster and means we can test against Ruby 3.3 as the version of Rubocop we're using doesn't support that

@G-Rath
Copy link
Contributor Author

G-Rath commented Jun 19, 2024

Note that I've purposely used slightly outdated versions as I'm upgrading CI in #50

@@ -40,6 +51,6 @@ jobs:
with:
cache: 'npm'
- run: npm ci
- run: npm test
Copy link

Choose a reason for hiding this comment

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

So you no longer need to run npm test 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's calling bin/ci-run, but actually I should remove the script from package.json since I've removed that file

@G-Rath G-Rath merged commit 244a216 into main Jun 19, 2024
8 checks passed
@G-Rath G-Rath deleted the split-ci branch June 19, 2024 19:44
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.

2 participants