-
Notifications
You must be signed in to change notification settings - Fork 104
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
Switch to GitHub Actions #1984
Switch to GitHub Actions #1984
Conversation
unit-test: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is to "deconstruct" the test.sh script (now deleted) into several steps in ci.yml? Is my undersetanding correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the return code from each runstep is the equivalent of each test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarifications. Side comments provided. NTC regarding this one.
.github/workflows/ci.yml
Outdated
- name: Use Java 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a similar line to https://github.com/telefonicaid/perseo-core/pull/167/files#r534058833, Java 9, 10 and 11 should be included here, although in commented form (with the same remark used in travis: FIXME: something in the current build (pom.xml?) precludes Java>8 to work
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 616a437
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
see telefonicaid/iotagent-ul#452
Dockerlint is commented out since the Dockerfiles have not been linted yet.