tests: do not start apache too early #1807
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: citest | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: false | |
jobs: | |
citest: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: perl -V | |
run: perl -V | |
- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate | |
uses: mxschmitt/action-tmate@v3 | |
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
- name: ./.ci/prepare_machine.sh | |
run: timeout -v 15m sudo bash -x ./.ci/prepare_machine.sh | |
- name: ./.ci/install_deps.sh | |
run: timeout -v 15m sudo su naemon -c 'bash -x ./.ci/install_deps.sh' | |
- name: ./script/install_puppeteer.sh | |
run: timeout -v 15m sudo bash -x ./script/install_puppeteer.sh | |
- name: make citest | |
run: timeout -v 90m sudo su naemon -c 'eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) && make citest' |