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

Run tests on macOS #157

Closed
ligurio opened this issue Apr 6, 2022 · 1 comment · Fixed by #268
Closed

Run tests on macOS #157

ligurio opened this issue Apr 6, 2022 · 1 comment · Fixed by #268
Assignees
Labels
code health Improve code readability, simplify maintenance and so on

Comments

@ligurio
Copy link
Member

ligurio commented Apr 6, 2022

For declaring macOS support, we need to run tests on macOS. In this issue, we need to extend test environments in Github Actions with macOS.

Don't forget to add macOS as supported platform in th README.

@Totktonada Totktonada added teamE code health Improve code readability, simplify maintenance and so on labels Apr 6, 2022
@Totktonada
Copy link
Member

Consider an example of such CI job in the tarantool/smtp module. I guess we can just copy-paste it and adjust a bit.

@LeonidVas LeonidVas assigned better0fdead and unassigned vr009 Nov 10, 2022
better0fdead added a commit that referenced this issue Nov 29, 2022
Added macOS testing into ci.

Closes #157
better0fdead added a commit that referenced this issue Nov 30, 2022
Added macOS testing into ci.

Closes #157
better0fdead added a commit that referenced this issue Nov 30, 2022
Updated actions to versions with node16 runtime.

Follow up #157
better0fdead added a commit that referenced this issue Nov 30, 2022
Updated actions to versions with node16 runtime.

Follow up #157
better0fdead added a commit that referenced this issue Nov 30, 2022
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Dec 20, 2022
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Changed checkTimeout time in test.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Changed checkTimeout time in test.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Changed checkTimeout time in test.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Changed checkTimeout time in test.

Part of #157
better0fdead added a commit that referenced this issue Feb 7, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added workaround for macOs-12 testrace.
Without it testrace sends SIGABRT after start.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed checkTimeout time in test.
The reason is that by default it updates the connects once every 1 second.
And it doesn't have time to update for some reason in the case of a test
 in the same second.
So set the update to half the time.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added workaround for macOs-12 testrace.
Without it testrace sends SIGABRT after start.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed checkTimeout time in test.
The reason is that by default it updates the connects once every 1 second.
And it doesn't have time to update for some reason in the case of a test
 in the same second.
So set the update to half the time.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added workaround for macOs-12 testrace.
Without it testrace sends SIGABRT after start.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed checkTimeout time in test.
The reason is that by default it updates the connects once every 1 second.
And it doesn't have time to update for some reason in the case of a test
 in the same second.
So set the update to half the time.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed action version from 2 to 3.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Fixed codespell error.

Follow up #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Added workaround for macOs-12 testrace.
Without it testrace sends SIGABRT after start.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed checkTimeout time in test.
The reason is that by default it updates the connects once every 1 second.
And it doesn't have time to update for some reason in the case of a test
 in the same second.
So set the update to half the time.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Increased sleep duration. Added more checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 16, 2023
Changed action version from 2 to 3.

Part of #157
better0fdead added a commit that referenced this issue Mar 24, 2023
Rewrote TestReconnect.
Instead of just conn.Close() used stop the tarantool instance to
avoid auto-reconnect. Restarted it after. Added checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 24, 2023
Changed sleep duration time in test.
The reason is that ttl time is set to 5 seconds in test.
And it doesn't have time for some reason in the case of a test in
the same time.
So set the sleep duration to 10 seconds.

Part of #157
better0fdead added a commit that referenced this issue Mar 24, 2023
Rewrote TestReconnect.
Instead of just conn.Close() used stop the tarantool instance to
avoid auto-reconnect. Restarted it after. Added checks.

Part of #157
better0fdead added a commit that referenced this issue Mar 24, 2023
Changed sleep duration time in test.
The reason is that ttl time is set to 5 seconds in test.
And it doesn't have time for some reason in the case of a test in
the same time.
So set the sleep duration to 10 seconds.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Added macOS testing into ci.
Updated actions to versions with node16 runtime.

Closes #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Added workaround for macOs-12 testrace.
Without it testrace sends SIGABRT after start.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Changed checkTimeout time in test.
The reason is that by default it updates the connects once every 1 second.
And it doesn't have time to update for some reason in the case of a test
 in the same second.
So set the update to half the time.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Increased sleep duration. Added more checks.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Changed action version from 2 to 3.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Rewrote TestReconnect.
Instead of just conn.Close() used stop the tarantool instance to
avoid auto-reconnect. Restarted it after. Added checks.

Part of #157
oleg-jukovec pushed a commit that referenced this issue Mar 24, 2023
Changed sleep duration time in test.
The reason is that ttl time is set to 5 seconds in test.
And it doesn't have time for some reason in the case of a test in
the same time.
So set the sleep duration to 10 seconds.

Part of #157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code health Improve code readability, simplify maintenance and so on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants