Commit e1bb5c7a authored by Godefroid Chapelle's avatar Godefroid Chapelle

Problem: CircleCI missing builds with just Python

Solution: Add builds that install python packages and run tests
parent 1de68363
version: 2.1
commands:
jobs:
test:
parameters:
......@@ -16,6 +19,26 @@ jobs:
- run:
command: ./ci_build.sh
install-python-and-test:
parameters:
python-version:
type: string
machine:
image: ubuntu-2004:202101-01
environment:
BUILD_TYPE: bare_machines
PYTHON_VER: << parameters.python-version >>
steps:
- run:
command: sudo add-apt-repository ppa:deadsnakes/ppa
- run:
command: sudo apt-get update
- run:
command: sudo apt install -y build-essential python${PYTHON_VER}-dev
- checkout
- run:
command: ./ci_build.sh
workflows:
tests-containers:
jobs:
......@@ -31,4 +54,10 @@ workflows:
parameters:
python-version: ["3.8"]
build-type: ["debian_sys_container"]
tests-ubuntu-machines:
jobs:
- install-python-and-test:
matrix:
parameters:
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
......@@ -7,6 +7,6 @@ cd ../..
# Travis Python comes with preinstalled six
# which breaks test suite
pip uninstall -y six || true
python dev.py
pip${PYTHON_VER} uninstall -y six || true
python${PYTHON_VER} dev.py
bin/test -c -vvv
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