From cd143c8eab4deb9085c931f6037fb4a2ab3d2e4f Mon Sep 17 00:00:00 2001 From: Patrick Baus Date: Sat, 28 Oct 2023 00:05:40 +0200 Subject: [PATCH] Add config file to CI --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61821e8..458cdca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: - '**.kicad_sch' - '**.kicad_pcb' - '.github/workflows/ci.yml' - - 'config.kibot.yml' + - '**config.kibot.yml' # Ignore the push event when creating tags tags-ignore: - '[0-9]+.[0-9]+.[0-9]+' @@ -21,6 +21,7 @@ on: env: SCHEMATIC_FILE: pcb/KiCad/RedPitaya_Lockbox.kicad_sch PCB_FILE: pcb/KiCad/RedPitaya_Lockbox.kicad_pcb + KIBOT_CONFIG: pcb/KiCad/config.kibot.yaml jobs: tests: @@ -69,6 +70,7 @@ jobs: - name: Run ERC uses: INTI-CMNB/KiBot@v2_k7 with: + config: ${{ env.KIBOT_CONFIG }} schema: ${{ env.SCHEMATIC_FILE }} dir: generated skip: run_drc @@ -94,6 +96,7 @@ jobs: - name: Run DRC uses: INTI-CMNB/KiBot@v2_k7 with: + config: ${{ env.KIBOT_CONFIG }} board: ${{ env.PCB_FILE }} dir: generated skip: run_erc @@ -120,7 +123,7 @@ jobs: - uses: INTI-CMNB/KiBot@v2_k7 with: - config: config.kibot.yaml + config: ${{ env.KIBOT_CONFIG }} schema: ${{ env.SCHEMATIC_FILE }} board: ${{ env.PCB_FILE }} skip: run_erc,run_drc