Skip to content
DARMA-taskingPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

267 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DARMA-tasking template repository

Template repository with base configuration.

Included workflows:

  • check-pr-fixes-issue - checking if PR description contains phrase "Fixes #issue", and if PR title, description and branch mention the same issue number
  • find-unsigned-commits - checking if there are any unsigned commits in PR
  • find-trailing-whitespace - checking if there are any trailing whitespaces in files
  • check-commit-format - checking if commit message is properly formatted - either starts with "Merge ..." or fullfils template: "#issue_number: short commit description"
  • action-git-diff-check - checking if changes introduce conflict markers or whitespace errors
  • check-build-matrix - running ci/build-matrix.py to verify that azure.json and github.json match the current CI configuration, and failing the check if either generated file is out of date

check-build-matrix

Check fails if differences appear in the CI log. To fix this, run the script locally and include the updated JSON files in your changes.

# First-time setup
python3 -m venv /tmp/darma-workflows-venv
/tmp/darma-workflows-venv/bin/python -m pip install PyYAML

# Generate both JSON files
/tmp/darma-workflows-venv/bin/python ci/build-matrix.py

# Check for differences
git diff --exit-code -- ci/shared/matrix/azure.json ci/shared/matrix/github.json
# No output -> Both files are up to date
# Differences shown -> The script updated the files, review and include them

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages