Commit 0ce8eaf1 authored by Romain Casati's avatar Romain Casati

Correct pytest invocation.

parent 30d87426
Pipeline #385164 failed with stages
in 5 minutes and 41 seconds
......@@ -7,7 +7,7 @@ stages:
build:
stage: build
script:
- apt-get update && apt-get install -y make git build-essential llvm nodejs python3-pip
- apt-get update && apt-get install -y make git make llvm nodejs python3-pip
- make build install
artifacts:
untracked: true
......@@ -15,10 +15,10 @@ build:
test:
stage: test
script:
- apt-get update && apt-get install -y python3-pip chromium-driver wget tar
- apt-get update && apt-get install -y python3-pip chromium-driver wget tar make
- wget -qO- https://github.com/mozilla/geckodriver/releases/download/v0.29.0/geckodriver-v0.29.0-linux64.tar.gz | tar zxC /usr/local/bin/
- pip3 install pytest selenium
- pytest --junitxml=test_report.xml tests/
- make test
artifacts:
when: always
reports:
......
......@@ -66,6 +66,6 @@ test: build install
mkdir -p tests/build/
cd tests/build/ && python3 -m basthon-kernel --install && cd -
cp tests/test.html tests/build/
pytest -x tests/
pytest --junitxml=test_report.xml tests/
.PHONY: all build setup-emscripten wasm-package publish clean install www www-publish test test-www minify devel-www-publish
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment