-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#158) * move fixture outside folder * add test-paths * add dbtignore file * fix patient data test * rename test folder to tests * fix sonar failed conditions --------- Co-authored-by: Maria Lorena Rodriguez Viruel <[email protected]>
- Loading branch information
Showing
37 changed files
with
14 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# .dbtignore | ||
init.sql |
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
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
FROM python:3 AS testing | ||
|
||
RUN pip install flake8 | ||
|
||
RUN flake8 dbt-run.py | ||
RUN pip install flake8 \ | ||
&& flake8 dbt-run.py | ||
|
||
FROM python:3 AS release | ||
|
||
RUN pip install --upgrade cffi \ | ||
&& pip install cryptography~=3.4 \ | ||
&& pip install dbt-core dbt-postgres | ||
|
||
RUN adduser dbt | ||
&& pip install dbt-core dbt-postgres \ | ||
&& adduser dbt | ||
USER dbt | ||
|
||
WORKDIR /dbt/ | ||
COPY test/profiles.yml profiles.yml | ||
COPY tests/profiles.yml profiles.yml | ||
COPY dbt_project.yml dbt_project.yml | ||
COPY packages.yml packages.yml | ||
COPY models models | ||
COPY macros macros | ||
COPY test/fixtures tests/fixtures | ||
COPY test/sqltest tests | ||
COPY test/run_dbt_tests_docker.sh run_dbt_tests_docker.sh | ||
COPY tests/fixtures tests/fixtures | ||
COPY tests/sqltest tests | ||
COPY tests/run_dbt_tests_docker.sh run_dbt_tests_docker.sh | ||
|
||
CMD ["bash", "./run_dbt_tests_docker.sh"] |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.