Skip to content

Commit

Permalink
updating test config
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskov authored and joewatchwell committed Jun 1, 2023
1 parent 58c310a commit a191281
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .rosetta-ci/test-sets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ branch-test-sets:
# use empty branch name to specify defult value for (ie any branch not explicitly listed)
pull-request-branch-test-sets:
# specific test sets for benchmark branch
benchmark: ['python']
benchmark: ['main', 'python']

# default, will apply to PR's to any other branch
'': ['main', 'python']
'': ['main']
2 changes: 1 addition & 1 deletion tests/test_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_commands(self):
state = 'failed'
log = f'Subtest {test_file} failed:\n{e!r}'

self.results[test_name] = dict(state = state, log = log)
self.results[test_file.rpartition('/')[-1]] = dict(state = state, log = log)

with open('.results.json', 'w') as f: json.dump(self.results, f, sort_keys=True, indent=2)

Expand Down

0 comments on commit a191281

Please sign in to comment.