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

tests: add spread suite for godeps plugin #2200

Merged

Conversation

kyrofa
Copy link
Contributor

@kyrofa kyrofa commented Aug 8, 2018

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on bug reports?
  • If this is a new feature. Have you discussed the design on the forum?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh unit?

This PR resolves LP: #1783833 by moving the plugin integration tests for the Godeps plugin into a Spread suite.

@codecov-io
Copy link

codecov-io commented Aug 8, 2018

Codecov Report

Merging #2200 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2200      +/-   ##
=========================================
- Coverage   91.18%   91.1%   -0.08%     
=========================================
  Files         202     201       -1     
  Lines       12988   12924      -64     
  Branches     1922    1915       -7     
=========================================
- Hits        11843   11775      -68     
- Misses        777     780       +3     
- Partials      368     369       +1
Impacted Files Coverage Δ
snapcraft/internal/cache/_cache.py 84.21% <0%> (-15.79%) ⬇️
snapcraft/internal/elf.py 82.84% <0%> (-0.33%) ⬇️
snapcraft/plugins/go.py 93.51% <0%> (-0.06%) ⬇️
snapcraft/plugins/kbuild.py 88.57% <0%> (ø) ⬆️
snapcraft/internal/cache/_file.py 96.66% <0%> (ø) ⬆️
snapcraft/internal/build_providers/errors.py 100% <0%> (ø) ⬆️
snapcraft/internal/build_providers/_images.py

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 10139a4...54fc0a1. Read the comment docs.

@kyrofa kyrofa force-pushed the feature/1783833/godeps_plugin_spread branch from a49331b to 244ec19 Compare August 8, 2018 21:05
Move the plugin integration tests for the Godeps plugin into a Spread
suite.

LP: #1783833

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
@kyrofa kyrofa force-pushed the feature/1783833/godeps_plugin_spread branch from 244ec19 to 54fc0a1 Compare August 9, 2018 15:40
export GOPATH=/tmp/go
/snap/bin/go get -u github.com/snapcore/spread/cmd/spread

# Remove the go snap since we want to test (among other things) the Go plugin
sudo snap remove go
Copy link
Collaborator

Choose a reason for hiding this comment

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

we will need to fix this later in a different form, but good call on uninstalling every unneeded bit to ensure we have a self sustainable system in place.

@sergiusens sergiusens merged commit 84932cc into canonical:master Aug 10, 2018
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

3 participants