Skip to content

Commit

Permalink
Merge pull request #391 from forsyth2/complete-run-workflow
Browse files Browse the repository at this point in the history
Improve complete_run workflow
  • Loading branch information
forsyth2 authored Feb 25, 2021
2 parents 27ee630 + 83f8a4f commit aa581a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ nosetests.xml
coverage.xml
*,cover
.hypothesis/
image_check_failures
tests/unit_test_data
tests/unit_test_images
tests/image_check_failures/
tests/system/all_sets_results_test/
tests/system/image_check_failures/
tests/v2_3_0_all_sets/
v2_3_0_all_sets/

# Translations
*.mo
Expand Down
5 changes: 3 additions & 2 deletions tests/complete_run_v2_3_0.py → tests/complete_run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import unittest

# This test should be run with the latest E3SM Diags tutorial code.
from examples.tutorials.tutorial_v2_3_0_all_sets_E3SM_machines import run_lcrc
from tests.system.test_diags import compare_images

Expand All @@ -13,8 +14,8 @@ def test_complete_run(self):
actual_images_dir = run_lcrc(".")

# The expected_images_file lists all images we expect to compare.
expected_images_file = "/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/expected_images_v2_3_0_all_sets_2021_02_22.txt"
expected_images_dir = "/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/v2_3_0_all_sets_2021_02_22"
expected_images_file = "/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/expected/image_list_all_sets.txt"
expected_images_dir = "/lcrc/group/e3sm/public_html/e3sm_diags_test_data/unit_test_complete_run/expected/all_sets"

mismatched_images = [] # type:ignore

Expand Down

0 comments on commit aa581a3

Please sign in to comment.