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

Move CI to github actions #1623

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Move CI to github actions #1623

wants to merge 6 commits into from

Conversation

piotrpio
Copy link
Collaborator

@piotrpio piotrpio commented Apr 22, 2024

This PR ports CI from travis to github actions.

This PR does not remove .travis.yml in order to verify that after merging to main the 2 CIs work similarly and the latest-server workflow triggers as expected. Travis configuration will be removed in a follow-up PR, together with switching the badge source in README.

Signed-off-by: Piotr Piotrowski piotr@synadia.com

@piotrpio piotrpio requested a review from Jarema April 22, 2024 09:03
- name: "Go: 1.22.x (nats-server@main)"
go: "1.22.x"
before_script:
- go get -modfile go_test.mod github.com/nats-io/nats-server/v2@main
Copy link
Member

Choose a reason for hiding this comment

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

I guess testing this one could be using a different cron outside of testing too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes I think having it set up as a separate workflow with cron will be necessary since there is no allow-failures option in github actions, only continue-on-error which still makes the PR red. I'll do that.

Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
@piotrpio piotrpio force-pushed the github-actions branch 4 times, most recently from 4412580 to d2da2f5 Compare April 30, 2024 08:27
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
@piotrpio piotrpio marked this pull request as ready for review April 30, 2024 09:08
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
@Jarema
Copy link
Member

Jarema commented May 1, 2024

I would add description in PR why we are leaving travis config for now and what are the next steps.

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

3 participants