Skip to content

Commit

Permalink
[Backport 1.2.latest] Pin pytest in dev-requirements.txt (#9479)
Browse files Browse the repository at this point in the history
* [Backport 1.2.latest] Pin `pytest` in `dev-requirements.txt`

* Add Rust backtrace

* Rust full backtrace

* Upload dbt.log as an artifact

* Fix upload path
  • Loading branch information
aranke authored Feb 5, 2024
1 parent 0d80e3a commit fb6075d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/structured-logging-schema-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
DBT_TEST_USER_1: dbt_test_user_1
DBT_TEST_USER_2: dbt_test_user_2
DBT_TEST_USER_3: dbt_test_user_3
# Rust debugging
RUST_BACKTRACE: full

steps:
- name: checkout dev
Expand Down Expand Up @@ -70,6 +72,12 @@ jobs:
- name: Run integration tests
run: tox -e integration -- -nauto

- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: dbt-log
path: dbt-core/logs/dbt.log

# apply our schema tests to every log event from the previous step
# skips any output that isn't valid json
- uses: actions-rs/cargo@v1
Expand Down
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ipdb
mypy==0.961
pip-tools
pre-commit
pytest
pytest~=7.4
pytest-cov
pytest-csv
pytest-csv~=3.0
pytest-dotenv
pytest-logbook
pytest-mock
Expand Down

0 comments on commit fb6075d

Please sign in to comment.