From bf0e1306322bca6700a3bf06be7f20f78b922184 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 27 Jun 2024 10:39:39 +0100 Subject: [PATCH] CI: Attempt to run installer. --- .github/workflows/install.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/install.yml diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml new file mode 100644 index 0000000..5e55248 --- /dev/null +++ b/.github/workflows/install.yml @@ -0,0 +1,37 @@ +name: Install Test + +on: + pull_request: + push: + branches: + - main + +jobs: + test: + name: Python ${{ matrix.python }} + runs-on: ubuntu-latest + strategy: + matrix: + python: ['3.9', '3.10', '3.11'] + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + + - name: Stub files + run: | + mkdir -p /boot/firmware + touch /boot/firmware/config.txt + touch raspi-config + chmod +x raspi-config + echo `pwd` >> $GITHUB_PATH + + - name: Run Tests + run: | + ./install.sh --unstable --force +