diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 83aa753c9..713f64d5a 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -59,4 +59,11 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml - flags: unittests \ No newline at end of file + flags: unittests + + - name: Upload coverage to Codacy + if: steps.changed-files-specific.outputs.only_modified == 'false' # Run on any non-docs change + uses: codacy/codacy-coverage-reporter-action@v1.3.0 + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: ./coverage.xml diff --git a/README.md b/README.md index 136333a22..a267fa424 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ - Codacy
+
+ Codacy diff --git a/docs/migration_guide.md b/docs/migration_guide.md index b435e30c0..552f6fba4 100644 --- a/docs/migration_guide.md +++ b/docs/migration_guide.md @@ -15,8 +15,8 @@ The [0.0.20 release](https://github.com/mlcommons/GaNDLF/releases/tag/0.0.20) wa - The main change is the use of the [Version package](https://github.com/keleshev/version) for systematic semantic versioning [[ref](https://github.com/mlcommons/GaNDLF/pull/841)]. - No change is needed if you are using a [stable version](https://docs.mlcommons.org/GaNDLF/setup/#install-from-package-managers). - If you have installed GaNDLF [from source](https://docs.mlcommons.org/GaNDLF/setup/#install-from-sources) or using a [nightly build](https://docs.mlcommons.org/GaNDLF/setup/#install-from-package-managers), you will need to ensure that the `maximum` key under `version` in the configuration file contains the correct version number: - - Either **including** the `-dev` identifier of the current version (e.g., if the current version is `0.1.0-dev`, then the `maximum` key should be `0.1.0-dev`). - - Or **excluding** the `-dev` identifier of the current version, but increasing the version number by one on any level (e.g., if the current version is `0.1.0-dev`, then the `maximum` key should be `0.1.1`). + - Either **including** the `-dev` identifier of the current version (e.g., if the current version is `0.X.Y-dev`, then the `maximum` key should be `0.X.Y-dev`). + - Or **excluding** the `-dev` identifier of the current version, but increasing the version number by one on any level (e.g., if the current version is `0.X.Y-dev`, then the `maximum` key should be `0.X.Y`). ### Use in HPC Environments diff --git a/samples/config_all_options.yaml b/samples/config_all_options.yaml index f460ac252..51edecb01 100644 --- a/samples/config_all_options.yaml +++ b/samples/config_all_options.yaml @@ -1,8 +1,8 @@ # affix version version: { - minimum: 0.1.0-dev, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + minimum: 0.1.1-dev, + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } ## Choose the model parameters here model: diff --git a/samples/config_classification.yaml b/samples/config_classification.yaml index 7a8ba7704..8dbd3a082 100644 --- a/samples/config_classification.yaml +++ b/samples/config_classification.yaml @@ -1,8 +1,8 @@ # affix version version: { - minimum: 0.1.0-dev, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + minimum: 0.1.1-dev, + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } # Choose the model parameters here model: diff --git a/samples/config_getting_started_classification_histo2d.yaml b/samples/config_getting_started_classification_histo2d.yaml index 34b5d069f..5d59c3c3a 100644 --- a/samples/config_getting_started_classification_histo2d.yaml +++ b/samples/config_getting_started_classification_histo2d.yaml @@ -94,6 +94,6 @@ scheduler: track_memory_usage: false verbose: false version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: true diff --git a/samples/config_getting_started_classification_rad3d.yaml b/samples/config_getting_started_classification_rad3d.yaml index e374ee82a..83c5ef6b8 100644 --- a/samples/config_getting_started_classification_rad3d.yaml +++ b/samples/config_getting_started_classification_rad3d.yaml @@ -99,6 +99,6 @@ scheduler: track_memory_usage: false verbose: false version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: true diff --git a/samples/config_getting_started_regression_histo2d.yaml b/samples/config_getting_started_regression_histo2d.yaml index 1b325595d..0101d2ccc 100644 --- a/samples/config_getting_started_regression_histo2d.yaml +++ b/samples/config_getting_started_regression_histo2d.yaml @@ -59,6 +59,6 @@ scheduler: track_memory_usage: false verbose: false version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: true diff --git a/samples/config_getting_started_regression_rad3d.yaml b/samples/config_getting_started_regression_rad3d.yaml index bb1e3f1e6..39db08ad4 100644 --- a/samples/config_getting_started_regression_rad3d.yaml +++ b/samples/config_getting_started_regression_rad3d.yaml @@ -62,6 +62,6 @@ scheduler: track_memory_usage: false verbose: false version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: false diff --git a/samples/config_getting_started_segmentation_histo2d.yaml b/samples/config_getting_started_segmentation_histo2d.yaml index 6640e5a0b..67871e07d 100644 --- a/samples/config_getting_started_segmentation_histo2d.yaml +++ b/samples/config_getting_started_segmentation_histo2d.yaml @@ -66,6 +66,6 @@ scheduler: track_memory_usage: false verbose: true version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: true diff --git a/samples/config_getting_started_segmentation_rad3d.yaml b/samples/config_getting_started_segmentation_rad3d.yaml index 029b18e7a..39316b755 100644 --- a/samples/config_getting_started_segmentation_rad3d.yaml +++ b/samples/config_getting_started_segmentation_rad3d.yaml @@ -89,6 +89,6 @@ scheduler: track_memory_usage: false verbose: true version: - maximum: 0.1.0-dev - minimum: 0.1.0-dev + maximum: 0.1.1-dev + minimum: 0.1.1-dev weighted_loss: true diff --git a/samples/config_regression.yaml b/samples/config_regression.yaml index d3757afcc..a0c1d65f8 100644 --- a/samples/config_regression.yaml +++ b/samples/config_regression.yaml @@ -1,8 +1,8 @@ # affix version version: { - minimum: 0.1.0-dev, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + minimum: 0.1.1-dev, + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } # Choose the model parameters here model: diff --git a/samples/config_segmentation_brats.yaml b/samples/config_segmentation_brats.yaml index 33ae7378e..d56a30e2f 100644 --- a/samples/config_segmentation_brats.yaml +++ b/samples/config_segmentation_brats.yaml @@ -1,8 +1,8 @@ # affix version version: { - minimum: 0.1.0-dev, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + minimum: 0.1.1-dev, + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } # Choose the model parameters here model: diff --git a/samples/config_segmentation_histology.yaml b/samples/config_segmentation_histology.yaml index cedebe7ce..ddc6abd99 100644 --- a/samples/config_segmentation_histology.yaml +++ b/samples/config_segmentation_histology.yaml @@ -1,8 +1,8 @@ # affix version version: { - minimum: 0.1.0-dev, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + minimum: 0.1.1-dev, + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } # Choose the model parameters here model: diff --git a/testing/config_classification.yaml b/testing/config_classification.yaml index b23ff66f3..ea8f0f890 100644 --- a/testing/config_classification.yaml +++ b/testing/config_classification.yaml @@ -55,7 +55,7 @@ save_output: false scaling_factor: 1 scheduler: triangle version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: True diff --git a/testing/config_regression.yaml b/testing/config_regression.yaml index b9c8dd764..474ac163e 100644 --- a/testing/config_regression.yaml +++ b/testing/config_regression.yaml @@ -38,7 +38,7 @@ save_output: false scaling_factor: 1 scheduler: triangle version: - maximum: 0.1.0-dev + maximum: 0.1.1-dev minimum: 0.0.14 weighted_loss: false diff --git a/testing/config_segmentation.yaml b/testing/config_segmentation.yaml index 3a5d48a7e..e49d4b716 100644 --- a/testing/config_segmentation.yaml +++ b/testing/config_segmentation.yaml @@ -3,7 +3,7 @@ version: { minimum: 0.0.14, - maximum: 0.1.0-dev + maximum: 0.1.1-dev } model: { diff --git a/tutorials/classification_medmnist_notebook/config.yaml b/tutorials/classification_medmnist_notebook/config.yaml index 20d9ef784..5e7e1138c 100644 --- a/tutorials/classification_medmnist_notebook/config.yaml +++ b/tutorials/classification_medmnist_notebook/config.yaml @@ -2,7 +2,7 @@ version: { minimum: 0.0.14, - maximum: 0.1.0-dev # this should NOT be made a variable, but should be tested after every tag is created + maximum: 0.1.1-dev # this should NOT be made a variable, but should be tested after every tag is created } # Choose the model parameters here model: