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

[github actions] address test flakiness #360

Merged
merged 8 commits into from Feb 14, 2022
Merged

[github actions] address test flakiness #360

merged 8 commits into from Feb 14, 2022

Conversation

allibell
Copy link
Contributor

@allibell allibell commented Feb 14, 2022

I want green checkmarks! :) We should be able to trust these or else real failures will be ignored.

  1. address artifact download flakiness
  2. don't build docs by default built only the needed docs, set up doc dependencies in the Action workflow
  3. golang:
    a. actually download C_header artifact (okapi.h)
    b. fix LD linking for Windows/MacOS
    d. get lib artifacts for windows-gnu
    e. nit (but need to appease go test): add comments to exported interfaces

Tests
commit triggers: I tested this on the test-github-stuff branch - finally the checkmarks are consistently green and the published XML test reports are all successes! (if you look back through past commits, the XML test reports had usually been failures, especially golang MacOS/Windows)

PR triggers (this PR): we have but one failure left, MacOS codesigning. >:( might we need to update these secrets?

@allibell allibell changed the title Fix artifact flakiness [github actions] address test flakiness Feb 14, 2022
@allibell allibell marked this pull request as ready for review February 14, 2022 05:43
devops/build_sdks.py Outdated Show resolved Hide resolved
@allibell allibell merged commit 48d0f98 into trinsic-id:main Feb 14, 2022
Comment on lines 228 to 229
if build_all or 'docs' in langs_to_build:
build_java_docs(args)
build_dotnet_docs(args)
Copy link
Member

Choose a reason for hiding this comment

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

we should switch this to dotnet then.

Comment on lines +37 to +50
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Set up Node (docs)
run: |
npm install groovydoc-to-markdown
shell: pwsh
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Set up Dotnet (docs)
run: |
dotnet tool install DefaultDocumentation.Console -g
shell: pwsh
Copy link
Member

Choose a reason for hiding this comment

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

dotnet isn't necessary for java.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, I thought we might need to build dotnet docs with all of them since build-dotnet workflow doesn't call this build_sdks script. but that's probably the real problem, we should make it call the script and allow for a real "build all" option

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.

None yet

3 participants