diff --git a/.github/workflows/pr_workflow.yml b/.github/workflows/pr_workflow.yml index 9d2a66df..f6ecf4d2 100644 --- a/.github/workflows/pr_workflow.yml +++ b/.github/workflows/pr_workflow.yml @@ -35,11 +35,11 @@ jobs: - name: Check for analysis files changed run: | - echo "analysis-changed=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^src/' && echo true || echo false)" >> $GITHUB_ENV + echo "analysis-changed=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q -e '^src/' -e '^tests/' && echo true || echo false)" >> $GITHUB_ENV - name: Check for calibration files changed run: | - echo "calibration-changed=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^tools/calibration_scripts/' && echo true || echo false)" >> $GITHUB_ENV + echo "calibration-changed=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q -e '^tools/calibration_scripts/' -e '^tests/' && echo true || echo false)" >> $GITHUB_ENV - name: Run mvesuvio Analysis Unit Tests if: ${{ env.analysis-changed == 'true'}} diff --git a/tests/system/analysis/test_analysis.py b/tests/system/analysis/test_analysis.py index 3fda46c5..85f7e3c8 100644 --- a/tests/system/analysis/test_analysis.py +++ b/tests/system/analysis/test_analysis.py @@ -17,7 +17,6 @@ ip_folder=str(Path(handle_config.VESUVIO_PACKAGE_PATH).joinpath("config", "ip_files")), inputs_file=str(Path(__file__).absolute().parent.parent / "data" / "inputs" / "sample_test.py") ) - ipFilesPath = Path(handle_config.read_config_var("caching.ipfolder"))