File tree 4 files changed +6
-6
lines changed 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 69
69
DBT_TEST_AAD_PRINCIPAL_1 : ${{ secrets.DBT_TEST_AAD_PRINCIPAL_1 }}
70
70
DBT_TEST_AAD_PRINCIPAL_2 : ${{ secrets.DBT_TEST_AAD_PRINCIPAL_2 }}
71
71
SQLSERVER_TEST_DRIVER : ' ODBC Driver ${{ matrix.msodbc_version }} for SQL Server'
72
- run : pytest -ra -v tests/functional --profile "${{ matrix.profile }}"
72
+ run : pytest -n auto - ra -v tests/functional --profile "${{ matrix.profile }}"
Original file line number Diff line number Diff line change 37
37
run : pip install -r dev_requirements.txt
38
38
39
39
- name : Run functional tests
40
- run : pytest -ra -v tests/functional --profile "ci_sql_server"
40
+ run : pytest -n auto - ra -v tests/functional --profile "ci_sql_server"
41
41
env :
42
42
DBT_TEST_USER_1 : DBT_TEST_USER_1
43
43
DBT_TEST_USER_2 : DBT_TEST_USER_2
Original file line number Diff line number Diff line change 33
33
run : pip install -r dev_requirements.txt
34
34
35
35
- name : Run unit tests
36
- run : pytest tests/unit
36
+ run : pytest -n auto -ra -v tests/unit
Original file line number Diff line number Diff line change @@ -39,17 +39,17 @@ linecheck: ## Checks for all Python lines 100 characters or more
39
39
.PHONY : unit
40
40
unit : # # Runs unit tests.
41
41
@\
42
- pytest -ra -v tests/unit
42
+ pytest -n auto - ra -v tests/unit
43
43
44
44
.PHONY : functional
45
45
functional : # # Runs functional tests.
46
46
@\
47
- pytest -ra -v tests/functional
47
+ pytest -n auto - ra -v tests/functional
48
48
49
49
.PHONY : test
50
50
test : # # Runs unit tests and code checks against staged changes.
51
51
@\
52
- pytest -v tests/unit; \
52
+ pytest -n auto -ra - v tests/unit; \
53
53
pre-commit run black-check --hook-stage manual | grep -v " INFO" ; \
54
54
pre-commit run flake8-check --hook-stage manual | grep -v " INFO" ; \
55
55
pre-commit run mypy-check --hook-stage manual | grep -v " INFO"
You can’t perform that action at this time.
0 commit comments