Skip to content

Conversation

@barneysowood
Copy link
Collaborator

Migrates tests to Github Actions as per issue #220.

This does the minimum possible to get the tests running as GH Actions workflows against current Salt and Python versions. I've stuck with the existing tox setup and only updated requirements where necessary to get the tests to set up and run.

I haven't setup the codecov functionality but will tackle that at a later stage,

Currently, some tests are failing for almost all the combinations of python/salt/transport. The majority of those are the integration tests, which rely on the archived pytest-salt extension.

Think it would be worth merging this as is and I'll then work on issues with the actual test suite in #225

Adds Github Actions workflow to call tox and run tests.
Doesn't currently implement coverage functionality - will add that
later.
Adds an exclusion for master and python 3.5/3.6 as 3006 onwards requires
py 3.7.
Updates pytest-salt url to point to
https://github.com/vmware-archive/pytest-salt. Should re-work tests
to use pytest-salt-factories.
Updates requirements to match current salt requirements for zeromq
and tornado.
Copy link
Contributor

@nicholasmhughes nicholasmhughes left a comment

Choose a reason for hiding this comment

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

question (non-blocking): Additional question... Are we planning on using the Azure Pipelines configuration, or will that get ripped out as well?

@barneysowood barneysowood merged commit b376591 into saltstack:develop May 1, 2023
@barneysowood barneysowood deleted the tests-github-actions branch May 1, 2023 16:46
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.

2 participants