-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to run unit tests in github actions
Airflow needs the db to be intialised even if DAGS aren't actually run. This github actions workflow creates a postgres service container[1], and then runs initdb before running pytest. However, I can't use act to test this locally, because it doesn't support service containers[2]. [1]. https://docs.github.com/en/free-pro-team@latest/actions/guides/creating-postgresql-service-containers [2]. nektos/act#173
- Loading branch information
Showing
1 changed file
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters