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

Add GitHub Actions. #3244

Merged
merged 1 commit into from Nov 16, 2020
Merged

Add GitHub Actions. #3244

merged 1 commit into from Nov 16, 2020

Conversation

dracos
Copy link
Member

@dracos dracos commented Nov 14, 2020

[skip changelog]

Diff failure is because of the changes added to deal with perlmagick being installed now and it trying to shrink the 1x83 test image which fails. OTOH is now testing e.g. the static_map stitch code which it wasn't on Travis.
Tried using the perl version docker images, but had weird test failures (slim base builds? Couldn't work it out), so instead am using GitHub's default, perlbrew to install a specific version and caching that.

@codecov
Copy link

codecov bot commented Nov 14, 2020

Codecov Report

Merging #3244 (6cedb19) into master (831332e) will increase coverage by 0.18%.
The diff coverage is 69.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3244      +/-   ##
==========================================
+ Coverage   84.23%   84.41%   +0.18%     
==========================================
  Files         264      264              
  Lines       16700    16703       +3     
  Branches     3124     3125       +1     
==========================================
+ Hits        14067    14100      +33     
+ Misses       1636     1581      -55     
- Partials      997     1022      +25     
Impacted Files Coverage Δ
perllib/FixMyStreet/ImageMagick.pm 56.75% <33.33%> (+43.24%) ⬆️
perllib/FixMyStreet/App/Model/PhotoSet.pm 59.37% <77.77%> (+1.31%) ⬆️
...erllib/FixMyStreet/App/Controller/Admin/Reports.pm 85.02% <100.00%> (+0.06%) ⬆️
perllib/FixMyStreet/Roles/Moderation.pm 91.66% <0.00%> (-8.34%) ⬇️
...FixMyStreet/App/Form/Widget/Field/CheckboxGroup.pm 90.00% <0.00%> (-5.00%) ⬇️
perllib/Catalyst/Authentication/Credential/2FA.pm 94.00% <0.00%> (-4.00%) ⬇️
perllib/FixMyStreet/DB/Result/AdminLog.pm 93.87% <0.00%> (-2.05%) ⬇️
...ib/FixMyStreet/DB/Result/ModerationOriginalData.pm 88.60% <0.00%> (-1.27%) ⬇️
perllib/FixMyStreet/App/Controller/Rss.pm 69.30% <0.00%> (-0.94%) ⬇️
perllib/Open311/UpdatesBase.pm 85.58% <0.00%> (-0.91%) ⬇️
... and 11 more

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 831332e...628de40. Read the comment docs.

@dracos dracos force-pushed the actions branch 6 times, most recently from 9155710 to bfea469 Compare November 14, 2020 17:10
We now have Image::Magick, so make sure that is handled better.
@dracos dracos requested review from davea and struan and removed request for davea November 16, 2020 08:18
Copy link
Member

@struan struan left a comment

Choose a reason for hiding this comment

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

🤖

PERL5LIB: local-coverage/lib/perl5
HARNESS_PERL_SWITCHES: "-MDevel::Cover=+ignore,local/lib/perl5,commonlib,perllib/Catalyst/[^A],perllib/Email,Test.pm,^t"

- name: Run tests (with coverage, part 2)
Copy link
Member

Choose a reason for hiding this comment

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

Why the two parts?

Copy link
Member Author

Choose a reason for hiding this comment

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

So it finishes quicker overall. It's a bit lopsided as you can see from the runs, but was at least an easy place to split them. Now it's in its own workflow, we could consider splitting further...
Originally done in f7873a9

@dracos dracos merged commit 628de40 into master Nov 16, 2020
@github-pages github-pages bot temporarily deployed to github-pages November 16, 2020 10:48 Inactive
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

2 participants