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

CI:GHA: Always run tests, don't skip based on content #195

Merged
merged 1 commit into from Jun 21, 2021

Conversation

scottclowe
Copy link
Member

PR #193 and #194 only affected the documentation and not the codebase. When the master branch was updated, the test workflow did not trigger because only paths in paths-ignore were updated. This is a problem for our coverage report, which was expecting to see these results but instead only saw Appveyor Windows builds.

We change the test workflow to run on all pushes. I would like to always run on master and skip running the tests on pushes to other branches which don't affect the codebase, but it is not clear to me if this is actually possible using just the github workflow event triggers.

This is because we always need to run on pushes to the master
branch. We would like to skip running the tests on pushes to other
branches which don't affect the codebase, but it is not clear to
me if this is actually possible using just the github workflow event
triggers.
@scottclowe scottclowe added the ci label Jun 21, 2021
@codecov
Copy link

codecov bot commented Jun 21, 2021

Codecov Report

Merging #195 (6be411d) into master (60cbebc) will increase coverage by 16.99%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #195       +/-   ##
===========================================
+ Coverage   76.08%   93.08%   +16.99%     
===========================================
  Files           8        8               
  Lines         895      911       +16     
  Branches      188      188               
===========================================
+ Hits          681      848      +167     
+ Misses        184       32      -152     
- Partials       30       31        +1     
Flag Coverage Δ
nbsmoke 64.10% <ø> (?)
unittests 92.97% <ø> (?)

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

Impacted Files Coverage Δ
fissa/core.py 96.63% <0.00%> (+4.04%) ⬆️
fissa/extraction.py 95.86% <0.00%> (+20.66%) ⬆️
fissa/readimagejrois.py 91.38% <0.00%> (+54.06%) ⬆️

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 60cbebc...6be411d. Read the comment docs.

@scottclowe scottclowe merged commit 10c0817 into rochefort-lab:master Jun 21, 2021
@scottclowe scottclowe deleted the ci_always-master branch June 21, 2021 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant