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

Add macOS CI #1556

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

Add macOS CI #1556

wants to merge 2 commits into from

Conversation

nirs
Copy link
Member

@nirs nirs commented Sep 13, 2024

Add basic tests for drenv skipping the tests requiring a test cluster
which we cannot use yet.

Github provides Intel based macOS runners supporting nested
virtualization. We can start a lima vm but it always get stuck waiting
for ssh connection to the guest. We can try to fix this later, but for
now we can run all the test that do not require a test cluster by
skipping the tests.

@nirs nirs force-pushed the lima-ci branch 2 times, most recently from 58295e0 to 42bca11 Compare September 18, 2024 16:45
@nirs nirs marked this pull request as ready for review September 18, 2024 16:45
@nirs nirs marked this pull request as draft September 18, 2024 18:13
@nirs nirs marked this pull request as ready for review September 18, 2024 18:15
@nirs nirs force-pushed the lima-ci branch 2 times, most recently from d551309 to cb75e33 Compare September 18, 2024 23:09
@nirs nirs force-pushed the lima-ci branch 3 times, most recently from bbed4c9 to adfa713 Compare September 19, 2024 18:40
@nirs nirs marked this pull request as draft September 19, 2024 18:53
@nirs nirs force-pushed the lima-ci branch 7 times, most recently from 8fc944a to 730d71d Compare September 19, 2024 19:56
The `test` target depends now on `unit-test` and `cluster-test` targets,
so developers that started a test cluster can easily run all tests, but
tests that do not depend on a test cluster can run when test cluster is
not available.

The `unit-test` target runs only tests that do not need a test cluster.
The `cluster-test` target runs only tests that needs a test cluster. The
`test` cluster run both sub targets.

Each sub-target add coverage data to the coverage file. The `coverage`
target show the coverage add by all the sub-targets.

To clear coverage data, you can use the new `coverage-clean` target.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Add basic tests for drenv skipping the tests requiring a test cluster
which we cannot use yet.

Github provides Intel based macOS runners supporting nested
virtualization. We can start a lima vm but it always get stuck waiting
for ssh connection to the guest. We can try to fix this later, but for
now we can run all the test that do not require a test cluster by
skipping the tests.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
@nirs nirs marked this pull request as ready for review September 20, 2024 18:05
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.

1 participant