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 plainbox plugin #2317

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

sergiusens
Copy link
Collaborator

Move the plugin and snapd integration tests for the CMake plugin into a
Spread suite.
Also pin the checkbox-ng package in the tests checkbox snap.

LP: #1783839

Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com

  • 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 tests/unit?

@sergiusens
Copy link
Collaborator Author

reminder, amend the commit message

Copy link
Contributor

@sergiocazzolato sergiocazzolato left a comment

Choose a reason for hiding this comment

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

Nice test suite, minor changes proposed.

execute: |
cd "$SNAP_DIR"
snapcraft
sudo snap install checkbox-simple_*.snap --dangerous
Copy link
Contributor

Choose a reason for hiding this comment

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

sudo is not needed here

tests/spread/plugins/plainbox/run/task.yaml Show resolved Hide resolved
@codecov-io
Copy link

codecov-io commented Oct 4, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@5eb674f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2317   +/-   ##
=========================================
  Coverage          ?   90.31%           
=========================================
  Files             ?      213           
  Lines             ?    13489           
  Branches          ?     2008           
=========================================
  Hits              ?    12183           
  Misses            ?      894           
  Partials          ?      412

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 5eb674f...1fbfb6d. Read the comment docs.

@sergiusens sergiusens force-pushed the spread-plainbox branch 2 times, most recently from 1da7750 to f52110e Compare October 4, 2018 10:17
Move the plugin and snapd integration tests for the plainbox plugin into a
Spread suite.
Also pin the checkbox-ng package in the tests checkbox snap.

Also removed a test that looks more like a plainbox tests and not a
snapcraft one.

LP: #1783839

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Copy link
Contributor

@sergiocazzolato sergiocazzolato left a comment

Choose a reason for hiding this comment

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

Good job! Approving

@sergiusens sergiusens merged commit d2b3aca into canonical:master Oct 4, 2018
@sergiusens sergiusens deleted the spread-plainbox branch October 4, 2018 14:08
sergiusens added a commit to sergiusens/snapcraft that referenced this pull request Oct 4, 2018
Move the plugin and snapd integration tests for the plainbox plugin into a
Spread suite.
Also pin the checkbox-ng package in the tests checkbox snap.

Also removed a test that looks more like a plainbox tests and not a
snapcraft one.

LP: #1783839

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
sergiusens added a commit that referenced this pull request Oct 4, 2018
Move the plugin and snapd integration tests for the plainbox plugin into a
Spread suite.
Also pin the checkbox-ng package in the tests checkbox snap.

Also removed a test that looks more like a plainbox tests and not a
snapcraft one.

LP: #1783839

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
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.

3 participants