Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
steps:
# Checkout the code
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
lfs: true

# Check out cime because some unit tests import it
- name: Checkout cime submodule
run: |
bin/git-fleximod update cime

# Set up the conda environment
- uses: conda-incubator/setup-miniconda@2defc80cc6f4028b1780c50faf08dd505d698976 # v3
Expand Down
3 changes: 2 additions & 1 deletion python/ctsm/run_ctsm_py_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""

import os
import sys
import glob
import argparse
import logging
Expand Down Expand Up @@ -53,7 +54,7 @@ def main(description):
unit_testing.setup_for_tests(enable_critical_logs=args.debug)

# Run the tests
pytest.main(pytest_args)
sys.exit(pytest.main(pytest_args))


def _commandline_args(description):
Expand Down
Loading