From 8d16c1e6eb6be8439ef84bc8dea85cb981419e64 Mon Sep 17 00:00:00 2001 From: alavenant Date: Mon, 18 Dec 2023 15:32:24 +0100 Subject: [PATCH] Update cicd_test.yml --- .github/workflows/cicd_test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/cicd_test.yml b/.github/workflows/cicd_test.yml index 8b13789..62f2df9 100644 --- a/.github/workflows/cicd_test.yml +++ b/.github/workflows/cicd_test.yml @@ -1 +1,33 @@ +name: cicd_test +on: + # Run each time some code are push on any branch + push: + branches: + - '**' + paths-ignore: + - 'doc/**' + +jobs: + + build_and_run_tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout branch + uses: actions/checkout@v3 + + - name: install cppunit + run: sudo apt install -y libcppunit-dev + + - uses: conda-incubator/setup-miniconda@v3 + with: + activate-environment: pdal_ign_plugin + environment-file: ./environment.yml + auto-activate-base: true + + - name: compil_plugins + run: source ./ci/build.sh + + - name: test + run: source ./ci/launch_test.sh