From 639b89f1df8a9dacd5ec9ddab209a85f7a6e19cd Mon Sep 17 00:00:00 2001 From: Maximilian Knespel Date: Tue, 26 Dec 2023 16:38:00 +0100 Subject: [PATCH] [CI] Also run CI tests for development version AppImage --- .github/workflows/appimage-develop.yml | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.github/workflows/appimage-develop.yml b/.github/workflows/appimage-develop.yml index fd8b35a6..19f090b8 100644 --- a/.github/workflows/appimage-develop.yml +++ b/.github/workflows/appimage-develop.yml @@ -22,3 +22,47 @@ jobs: with: name: ratarmount-x86_64.AppImage path: "AppImage/ratarmount*-x86_64.AppImage" + + + AppImage-Tests: + runs-on: ${{ matrix.os }} + needs: [Manylinux-Appimage] + + strategy: + matrix: + os: [ubuntu-latest] + + steps: + - uses: actions/download-artifact@v3 + with: + name: ratarmount-x86_64.AppImage + + - name: Install AppImage + run: | + chmod u+x ratarmount*-x86_64.AppImage + mv ratarmount*-x86_64.AppImage /usr/local/bin/ratarmount + echo "/usr/local/bin" >> $GITHUB_PATH + + - name: Install Dependencies + run: | + # These are required for creating test files on the fly not for ratarmount! + sudo apt-get -y install bzip2 pixz zstd unar fuse + + - name: Test Simple Startup + run: | + ratarmount --help + ratarmount --version + + - uses: actions/checkout@v3 + + - name: Test Simple Mount + run: | + ratarmount tests/single-file.tar mimi + ls -la mimi + sleep 1s + ratarmount -u mimi + + - name: Regression Tests + run: | + export RATARMOUNT_CMD=/usr/local/bin/ratarmount + bash tests/runtests.sh