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 away from -rc3 and into "the real thing" #106

Merged
merged 1 commit into from
May 14, 2021
Merged

Move CI away from -rc3 and into "the real thing" #106

merged 1 commit into from
May 14, 2021

Conversation

paulo-ferraz-oliveira
Copy link
Contributor

No description provided.

@andreineculau
Copy link
Member

re: #105 (comment)
I remember replying to you, but heck if I know what happened to my reply. I was asking you if you have a clever idea to not need to manually update that, or at least add a check so CI fails when we forget to update.

I have a suggestion around that: since there is a erlang:latest docker image, we could maybe have latest in the list for otp_vsn and then the shell check can be simply if matrix.otp_vsn = latest then ... (pseudo). WDYT?

@paulo-ferraz-oliveira
Copy link
Contributor Author

paulo-ferraz-oliveira commented May 14, 2021

WDYT?

Might work, let me try. I wasn't looking at this "latest" part and had even forgotten about that subject 😄

Edit: 4279dac 👈 if this passes, the only question here is "Do we want to keep 24.0 next to latest - which would mean that we'd need to know what latest is, every time -, or are we Okay with a potentially duplicate CI run, currently "24.0 and latest"?

Edit 2: actually, let me try and add some if to it.

@paulo-ferraz-oliveira
Copy link
Contributor Author

paulo-ferraz-oliveira commented May 14, 2021

I'll squash everything now. @andreineculau, how'd'you like the end result?

Edit: left some comments here and there, for review clarity.

- shell: bash
run: make
if: ${{ matrix.otp_vsn != 'latest' }}
Copy link
Member

Choose a reason for hiding this comment

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

I think it's ok to run make and make test on latest, even though at times it might be redundant. But at times, erlang will publish newer versions than what we're testing against, and then it's good to build and run the tests on that version too.

Vague memory that maybe there are some side-effects or running make elvis docs first. Maybe not in functionality, but speed. Maybe!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Squashed the removal of some conditionals with existing code and force-pushed...

@andreineculau
Copy link
Member

Thanks for the changes! 🎉

@andreineculau andreineculau merged commit afd88d0 into for-GET:master May 14, 2021
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the feature/ci-otp-24 branch May 14, 2021 22:10
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