diff --git a/.github/workflows/pack-debian.yml b/.github/workflows/pack-debian.yml index 237868897..deb9dc467 100644 --- a/.github/workflows/pack-debian.yml +++ b/.github/workflows/pack-debian.yml @@ -2,6 +2,8 @@ name: Create Debian package on: workflow_dispatch: + pull_request: + paths: ['**CMakeLists.txt', '**.cmake'] jobs: build-deb-package: runs-on: ubuntu-latest @@ -90,7 +92,7 @@ jobs: run: | khiops -v khiops_coclustering -v - - name: Test Khiops and Khiops Coclustering + - name: Test Khiops installation uses: ./.github/actions/test-khiops-install test-kni-deb: needs: build-deb-package diff --git a/.github/workflows/pack-rpm.yml b/.github/workflows/pack-rpm.yml index fa7ef8f2c..3bea38fb4 100644 --- a/.github/workflows/pack-rpm.yml +++ b/.github/workflows/pack-rpm.yml @@ -2,6 +2,8 @@ name: Create RPM package on: workflow_dispatch: + pull_request: + paths: ['**CMakeLists.txt', '**.cmake'] jobs: build-rpm-package: runs-on: ubuntu-latest @@ -88,7 +90,7 @@ jobs: - name: Install Khiops Desktop (with java) run: | yum install -y ./artifacts/khiops-* - - name: Test Khiops and Khiops Coclustering + - name: Test Khiops installation uses: ./.github/actions/test-khiops-install test-kni-rpm: needs: build-rpm-package @@ -122,5 +124,5 @@ jobs: uses: actions/checkout@v3 with: sparse-checkout: .github - - name: Test KNI package + - name: Test KNI package installation uses: ./.github/actions/test-kni diff --git a/.github/workflows/pre-commit-checks.yml b/.github/workflows/pre-commit-checks.yml index 8ed60fdd9..ecacff0b3 100644 --- a/.github/workflows/pre-commit-checks.yml +++ b/.github/workflows/pre-commit-checks.yml @@ -2,7 +2,6 @@ name: Run pre-commit checks on: pull_request: - push: workflow_dispatch: jobs: pre-commit-checks: diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 86edc981a..369e90b12 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -2,7 +2,7 @@ name: Run Unit Tests on: workflow_dispatch: - push: + pull_request: paths: - '**CMakeLists.txt' - src/**.h