我正在尝试在 gitlab 管道中运行我的测试,但我不断收到相同的错误:
这是我的 yml:
stages:
- setup
- test
setup:
stage: setup
image: node:latest
services:
- name: selenium/standalone-chrome
alias: selenium
script:
- |
cat << EOF > /etc/apt/sources.list.d/google-chrome.list
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
EOF
- wget -O- https://dl.google.com/linux/linux_signing_key.pub |gpg --dearmor > /etc/apt/trusted.gpg.d/google.gpg
- apt update
- apt install -y google-chrome-stable
- google-chrome --version
- npm install
test:
stage: test
image: node:latest
script:
- npm run pipelineQA
- npm run report
- allure generate -c ./allure-results -o ./allure-report
artifacts:
when: always
paths:
- /allure-report
- /allure-results
expire_in: 1 week
这是错误: gitlab错误
另外,我如何吸引保存和显示我的报告