From 62119f32506a05fded3cde40bf4d79c51410f1b8 Mon Sep 17 00:00:00 2001 From: Colton Loftus <70598503+C-Loftus@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:14:42 -0400 Subject: [PATCH] install calibre in path --- .github/workflows/go_tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml index 8271d2f..024ff09 100644 --- a/.github/workflows/go_tests.yml +++ b/.github/workflows/go_tests.yml @@ -18,5 +18,15 @@ jobs: with: go-version: '1.22' + - name: Install Calibre + run: | + sudo apt-get update + sudo apt-get install -y calibre + + - name: Ensure ebook-convert is in PATH + run: | + echo "$(dirname $(which ebook-convert)) is in PATH" + ebook-convert --version # This will fail if ebook-convert is not installed correctly + - name: Run Go tests run: go test ./... -p 1 -count=1