Closed leorudczenko closed 1 year ago
A GitHub workflow has been created for the repository, however, it is encountering an issue. Whenever the tests are run, an error occurs which states that the sqlite3
module could not be found, despite the fact that it should be included with standard Python.
The workflow currently uses all 3 required Python versions, and the sqlite3
module error is occurring on all of these versions.
It has been decided to only run pytest in the GitHub workflow on the test/unit
directory, as these tests run without causing import errors. This means that the current GitHub workflow achieves the same result as the previously used .travis.yml
pipeline.
What happened to the sqlite3
problem? Did you fix it?
Summary
As an ETLHelper developer, I want to the tests for ETLHelper to automatically run in GitHub with a workflow and GitHub actions.
Description
Currently, it can be awkward to run the tests locally as it requires database setup. This issue could be solved by creating an automated workflow using GitHub actions, which runs the tests remotely when a new change is made to ETLHelper.
A basic workflow which runs
pytest
can be found in the TACtool repository.The workflow should also run the tests in different versions of Python.
matrix
can be found here.Acceptance Criteria
push
if it modifies a.py
file on any branch