Skip to content

GitHub Actions for SpyDrNet

Ben Glines edited this page Dec 8, 2021 · 1 revision

Currently, there are two GitHub Actions workflows for the SpyDrNet project: a workflow for Pytest, and a workflow for Pylint. Essentially, these workflows are just convenient features that allow for a more robust codebase by running both Pytest and Pylint automatically.

To edit these workflows or see how they work, look at the https://github.com/byuccl/spydrnet/tree/master/.github/workflows folder. There is a https://yaml.org/ file for each workflow that specifies the options for each job. Something worth noting in both of these workflows, is that they only run for pushes to certain branches, and only for certain Python versions. For Pylint, it is not necessary to run it for every single commit, so it is run every time a change is pushed to the master branch (only for releases). For Pytest, it is run every time there is a push to any branch. This is helpful for ensuring that code is always operating as expected, and nothing is getting broken.