diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 360a8071..de872201 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -49,7 +49,6 @@ jobs: path: coverage_dir/ retention-days: 1 - coverage: runs-on: arm-ubuntu-latest-16core steps: @@ -61,6 +60,10 @@ jobs: architecture: "arm64" - name: Run tests run: | + # Prevent restarting the github actions service on package upgrades + # See https://discourse.ubuntu.com/t/needrestart-changes-in-ubuntu-24-04-service-restarts/44671 + echo '$nrconf{override_rc}{qr(^actions.runner.*.service$)} = 0;' | sudo tee /etc/needrestart/conf.d/githubactions.conf + sudo apt-get update && sudo apt-get install --no-install-recommends --no-install-suggests -y lcov libsqlite3-0 libsqlite3-dev libolm3 libssl3 ./scripts/test.sh - uses: actions/upload-artifact@v4 @@ -70,7 +73,6 @@ jobs: path: coverage_dir/ retention-days: 1 - merge_converage: if: ${{ !cancelled() }} runs-on: ubuntu-latest