Skip to content

Commit

Permalink
configure pytest
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 461064163
  • Loading branch information
iansimon authored and Magenta Team committed Jul 14, 2022
1 parent e0f0f21 commit bdb3b3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# TODO(adarob): Re-enable once tests are updated.
run: |
export FLAX_LAZY_RNG=no
pytest
pytest mt3/
# The below step just reports the success or failure of tests as a "commit status".
# This is needed for copybara integration.
- name: Report success or failure as github status
Expand Down
3 changes: 3 additions & 0 deletions mt3/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
python_files = *_test.py
log_level = INFO

0 comments on commit bdb3b3c

Please sign in to comment.