snapcraft icon indicating copy to clipboard operation
snapcraft copied to clipboard

tests: enable provider spread tests for core22

Open mr-cal opened this issue 2 years ago • 1 comments

  • [X] Have you followed the guidelines for contributing?
  • [X] Have you signed the CLA?
  • [X] Have you successfully run make lint?
  • [X] Have you successfully run pytest tests/unit?

Enable spread tests for core22 to test usage of providers.

This PR is a prerequisite to https://github.com/snapcore/snapcraft/pull/3875, which will add more spread tests.

(CRAFT-1266)

mr-cal avatar Aug 17 '22 18:08 mr-cal

Codecov Report

Merging #3877 (d45b39b) into hotfix/7.1.2 (cbafb4e) will not change coverage. The diff coverage is n/a.

@@              Coverage Diff              @@
##           hotfix/7.1.2    #3877   +/-   ##
=============================================
  Coverage         88.06%   88.06%           
=============================================
  Files                73       73           
  Lines              4431     4431           
=============================================
  Hits               3902     3902           
  Misses              529      529           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov-commenter avatar Aug 17 '22 20:08 codecov-commenter

Good advice. I checked the github logs and confirmed the tests are executing as expected:

google:ubuntu-18.04-64:tests/spread/providers/legacy/host-env-passthrough
google:ubuntu-18.04-64:tests/spread/providers/legacy/lxd-env-passthrough
google:ubuntu-18.04-64:tests/spread/providers/legacy/lxd-managed-environment
google:ubuntu-18.04-64:tests/spread/providers/legacy/lxd-prime-then-try
google:ubuntu-18.04-64:tests/spread/providers/legacy/lxd-try
google:ubuntu-18.04-64:tests/spread/providers/lxd-basic
google:ubuntu-18.04-64:tests/spread/providers/lxd-build-info
google:ubuntu-18.04-64:tests/spread/providers/lxd-mknod
google:ubuntu-18.04-64:tests/spread/providers/lxd-type-base

google:ubuntu-20.04-64:tests/spread/providers/legacy/host-env-passthrough
google:ubuntu-20.04-64:tests/spread/providers/legacy/lxd-env-passthrough
google:ubuntu-20.04-64:tests/spread/providers/legacy/lxd-managed-environment
google:ubuntu-20.04-64:tests/spread/providers/legacy/lxd-prime-then-try
google:ubuntu-20.04-64:tests/spread/providers/legacy/lxd-try
google:ubuntu-20.04-64:tests/spread/providers/lxd-basic
google:ubuntu-20.04-64:tests/spread/providers/lxd-build-info
google:ubuntu-20.04-64:tests/spread/providers/lxd-mknod
google:ubuntu-20.04-64:tests/spread/providers/lxd-type-base

google:ubuntu-22.04-64:tests/spread/providers/lxd-basic
google:ubuntu-22.04-64:tests/spread/providers/lxd-build-info
google:ubuntu-22.04-64:tests/spread/providers/lxd-mknod
google:ubuntu-22.04-64:tests/spread/providers/lxd-type-base

mr-cal avatar Aug 18 '22 13:08 mr-cal