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 MERGE YET: testing CI #49

Closed
wants to merge 2 commits into from
Closed

Conversation

matejvasek
Copy link
Contributor

No description provided.

@matejvasek
Copy link
Contributor Author

@lkingland trying to run CI on multiple OSes.

@matejvasek
Copy link
Contributor Author

@lkingland there are few tests failing because of file mods (access perms.); I am not sure how we could fix this.

@@ -23,50 +23,50 @@ func TestPathToDomain(t *testing.T) {
{"", noLimit, ""},

// trailing slashes ignored
{"/home/user/example.com/admin/", noLimit, "admin.example.com"},
{"/home" + string(os.PathSeparator) + "user" + string(os.PathSeparator) + "example.com" + string(os.PathSeparator) + "admin/", noLimit, "admin.example.com"},
Copy link
Member

Choose a reason for hiding this comment

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

This might be cleaner as filepath.Join(...)

Comment on lines +8 to +11
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
runs-on: ${{ matrix.os }}
Copy link
Member

Choose a reason for hiding this comment

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

I love that we are dipping our toes in here, but I would caution that we don't spend too much time on cross-compatibility until we're past v1, or we risk spending a lot of time in maintenance of platforms not in active use.

Copy link
Member

Choose a reason for hiding this comment

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

Although I would say that OSX and Linux are must-have...

@lkingland
Copy link
Member

@lkingland there are few tests failing because of file mods (access perms.); I am not sure how we could fix this.

Sounds like a bug in pkger to me. I created a new issue #57

@lance
Copy link
Member

lance commented Aug 26, 2020

@lkingland there are few tests failing because of file mods (access perms.); I am not sure how we could fix this.

I think this test could be changed to be OS agnostic. And this test could check runtime.GOOS for "windows" and have a special test just for that platform.

@lance
Copy link
Member

lance commented Sep 10, 2020

@matejvasek this PR is now pointing to the incorrect main branch (develop) and CI has changed so much that I think this should be closed and reconsidered for a future PR.

@matejvasek matejvasek closed this Sep 10, 2020
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.

3 participants