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

Do not run tests with OTP 22.0 #106

Merged
merged 1 commit into from
Mar 9, 2021
Merged

Do not run tests with OTP 22.0 #106

merged 1 commit into from
Mar 9, 2021

Conversation

dolfinus
Copy link
Contributor

@dolfinus dolfinus commented Mar 6, 2021

It looks like some of PRs are failing:
#107
#97

This is caused bu a bug in the 22.0.1 OTP version:
elixir-ecto/ecto#3335 (comment) for more details

Here I've changed the matrix build to avoid this.

Also recently ubuntu-latest tag was changed, now it is pointing to ubuntu-20.04 instead of ubuntu-18.04. This causes an error during Elixir installation step:
https://github.com/dolfinus/paginator/runs/2045756587?check_suite_focus=true
So I've changed ubuntu version back to 18.04.

Another thing that was changed here - workflow has been updated to be run on pull_requests too.
Without this change every PR from an external repo will look like this:
image
without actually running any of these checks.

Here is an example of workflow run:
https://github.com/dolfinus/paginator/actions/runs/633779496

And this is en example of run which will be performed after #97 rebase:
https://github.com/dolfinus/paginator/actions/runs/633782580

@dolfinus
Copy link
Contributor Author

dolfinus commented Mar 8, 2021

@sgerrand Could you please take a look at this PR?

Copy link
Contributor

@sgerrand sgerrand left a comment

Choose a reason for hiding this comment

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

Thanks for your suggestions. There are some significant things which require updating before this changeset can be merged.

.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
@dolfinus dolfinus changed the title Do not run tests with old Elixir versions and modern OTP ones Do not run tests with OTP 20.0 Mar 8, 2021
@dolfinus dolfinus requested a review from sgerrand March 8, 2021 22:07
@dolfinus dolfinus changed the title Do not run tests with OTP 20.0 Do not run tests with OTP 22.0 Mar 9, 2021
Copy link
Contributor

@sgerrand sgerrand left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

@sgerrand
Copy link
Contributor

sgerrand commented Mar 9, 2021

@dolfinus: Thank you for your contribution!

@sgerrand sgerrand merged commit 25fa47c into duffelhq:main Mar 9, 2021
@dolfinus dolfinus deleted the fix_elixir_otp_matrix branch March 9, 2021 12:49
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