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

Switch to GitHub Actions #1984

Merged
merged 6 commits into from
Dec 2, 2020
Merged

Switch to GitHub Actions #1984

merged 6 commits into from
Dec 2, 2020

Conversation

jason-fox
Copy link
Contributor

see telefonicaid/iotagent-ul#452

Dockerlint is commented out since the Dockerfiles have not been linted yet.

@jason-fox
Copy link
Contributor Author

unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

@fgalan fgalan Dec 2, 2020

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.

- name: Use Java 8
uses: actions/setup-java@v1
with:
java-version: 8
Copy link
Member

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).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed 616a437

jason-fox and others added 2 commits December 2, 2020 14:28
.github/workflows/ci.yml Outdated Show resolved Hide resolved
jason-fox and others added 2 commits December 2, 2020 16:02
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

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

LGTM

@fgalan fgalan merged commit 2bbe5e7 into telefonicaid:master Dec 2, 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.

2 participants