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

Test api in workflows #3999

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

- name: Test api
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand All @@ -69,6 +73,10 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

- name: Test api
run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand All @@ -93,6 +101,11 @@ jobs:
run: go test -cover ./...
working-directory: ./kyaml

# TODO: uncomment once Windows tests are passing.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

An issue should be created to fix these tests.

Copy link
Contributor

Choose a reason for hiding this comment

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

filed #4001

# - name: Test api
# run: go test -cover ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222"
# working-directory: ./api

- name: Test cmd/config
run: go test -cover ./...
working-directory: ./cmd/config
Expand Down