Skip to content

Conversation

landonreed
Copy link
Contributor

@landonreed landonreed commented Jan 11, 2021

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

Replace Travis CI with GitHub Actions. Note: this temporarily disables e2e to get things working with GitHub actions and avoid slowing other PRs down for now (until e2e can be fully debugged).

@landonreed landonreed self-assigned this Jan 11, 2021
@codecov-io
Copy link

codecov-io commented Jan 12, 2021

Codecov Report

Merging #360 (1179dfe) into dev (adb0d27) will decrease coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev     #360      +/-   ##
============================================
- Coverage     26.56%   26.43%   -0.14%     
+ Complexity      648      642       -6     
============================================
  Files           178      178              
  Lines          9188     9188              
  Branches       1243     1243              
============================================
- Hits           2441     2429      -12     
- Misses         6508     6518      +10     
- Partials        239      241       +2     
Flag Coverage Δ Complexity Δ
unit_tests 26.43% <ø> (-0.14%) 0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...om/conveyal/datatools/manager/auth/Auth0Users.java 60.00% <0.00%> (-6.46%) 16.00% <0.00%> (-5.00%)
...ls/manager/jobs/NotifyUsersForSubscriptionJob.java 60.41% <0.00%> (-4.17%) 6.00% <0.00%> (-1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adb0d27...1179dfe. Read the comment docs.

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

LGTM, with one comment regarding checking whether a commit is to master.

@@ -0,0 +1,162 @@
name: Java CI

on: [push, pull_request]
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to run this on the push event in order to generate builds for testing outside of the context of a pull request, right?

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, I believe that's the case.

Copy link
Contributor

@br648 br648 left a comment

Choose a reason for hiding this comment

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

LGTM!

@br648 br648 removed their assignment Jan 20, 2021
@landonreed landonreed merged commit 4992d14 into dev Jan 21, 2021
@landonreed landonreed deleted the github-actions branch January 21, 2021 15:15
Comment on lines +154 to +162
- name: Deploy to S3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read
env:
AWS_S3_BUCKET: datatools-builds
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: 'deploy' No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a security risk to give AWS credentials to a third party. I would have requested that this be changed if I had given a review.

@landonreed landonreed mentioned this pull request Mar 9, 2021
8 tasks
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.

5 participants