From 1a2010ef73891d66eeaad51e1270e75ad17f2494 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 17 Oct 2023 06:57:26 +0530 Subject: [PATCH] Restore the arch linux CI Since calling os._exit() seems to have worked around the CI hang --- .github/workflows/ci.yml | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b905bd0387..f26e03aa1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,36 +36,36 @@ jobs: run: python setup/unix-ci.py test - # archtest: - # name: Test on Arch - # runs-on: ubuntu-latest - # container: - # image: 'archlinux/archlinux:latest' - # env: - # CI: 'true' - # steps: - # - name: Setup container - # run: | - # pacman -Syu --noconfirm - # pacman -S --noconfirm tar - # - # - name: Checkout source code - # uses: actions/checkout@master - # with: - # fetch-depth: 10 - # - # - name: Install calibre dependencies - # run: setup/arch-ci.sh - # - # - name: Bootstrap calibre - # run: runuser -u ci -- python setup.py bootstrap --ephemeral --debug --sanitize - # - # - name: Test calibre - # env: - # PYTHONWARNINGS: error - # CALIBRE_SHOW_DEPRECATION_WARNINGS: 1 - # run: | - # set -xe - # runuser -u ci -- python setup.py test --under-sanitize - # echo "Running test_rs" - # runuser -u ci -- python setup.py test_rs + archtest: + name: Test on Arch + runs-on: ubuntu-latest + container: + image: 'archlinux/archlinux:latest' + env: + CI: 'true' + steps: + - name: Setup container + run: | + pacman -Syu --noconfirm + pacman -S --noconfirm tar + + - name: Checkout source code + uses: actions/checkout@master + with: + fetch-depth: 10 + + - name: Install calibre dependencies + run: setup/arch-ci.sh + + - name: Bootstrap calibre + run: runuser -u ci -- python setup.py bootstrap --ephemeral --debug --sanitize + + - name: Test calibre + env: + PYTHONWARNINGS: error + CALIBRE_SHOW_DEPRECATION_WARNINGS: 1 + run: | + set -xe + runuser -u ci -- python setup.py test --under-sanitize + echo "Running test_rs" + runuser -u ci -- python setup.py test_rs