From dff0749f815342f618529c2190b5e4f89c4079b8 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Mon, 25 Nov 2024 18:59:33 +0100 Subject: [PATCH] Move setup steps to a script --- .github/workflows/_test.yml | 5 ----- bin/ci-setup | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100755 bin/ci-setup diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 621f4505..bba35786 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -15,11 +15,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: '${{ matrix.node-version }}' - - name: Install dependencies - run: | - sudo add-apt-repository -y ppa:ubuntugis/ppa - sudo apt-get update -q - sudo apt-get install -y proj-bin gdal-bin - name: Run unit tests run: | [[ -d ./bin/ci-setup ]] && ./bin/ci-setup diff --git a/bin/ci-setup b/bin/ci-setup new file mode 100755 index 00000000..b4294b46 --- /dev/null +++ b/bin/ci-setup @@ -0,0 +1,5 @@ +#!/bin/bash + +sudo add-apt-repository -y ppa:ubuntugis/ppa +sudo apt-get update -q +sudo apt-get install -y proj-bin gdal-bin