From 00b5c9886379a7f2bf269ae3cd94527d0c62bd03 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 18 Jun 2024 15:17:12 +0200 Subject: [PATCH] ci: Remove GH action to run blivet-gui tests This is now covered by the Packit reverse dependency tests. --- .github/workflows/blivetgui_tests.yml | 53 --------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/blivetgui_tests.yml diff --git a/.github/workflows/blivetgui_tests.yml b/.github/workflows/blivetgui_tests.yml deleted file mode 100644 index 3a8b3bedb..000000000 --- a/.github/workflows/blivetgui_tests.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Blivet-GUI tests - -on: - pull_request: - branches: - - 3.*-devel - -jobs: - build: - name: blivetgui-tests - runs-on: ubuntu-22.04 - env: - CI_CONTAINER: blivet-ci-blivetgui-tests - steps: - - name: Checkout blivet repository - uses: actions/checkout@v4 - - - name: Install podman - run: | - sudo apt -qq update - sudo apt -y -qq install podman - - - name: Build the container - run: | - podman build --no-cache -t ${{ env.CI_CONTAINER }} -f misc/ci.Dockerfile . - - - name: Start the container - run: | - podman run -d -t --name ${{ env.CI_CONTAINER }} --privileged --volume "$(pwd):/app" --workdir "/app" ${{ env.CI_CONTAINER }} - - - name: Install Blivet-GUI test dependencies in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "ansible-playbook -i "localhost," -c local /blivet-gui/misc/install-test-dependencies.yml" - - - name: Remove Blivet from the container (we want to install from source) - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "dnf -y remove python3-blivet --noautoremove" - - - name: Install Blivet build dependencies in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "ansible-playbook -i "localhost," -c local misc/install-test-dependencies.yml" - - - name: Build and install Blivet in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "python3 setup.py install --prefix=/usr" - - - name: Run Blivet-GUI static analysis in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "cd /blivet-gui && make check" - - - name: Run Blivet-GUI unit tests in the container - run: | - podman exec -it ${{ env.CI_CONTAINER }} bash -c "cd /blivet-gui && make gui-test"