Skip to content
Snippets Groups Projects
Commit 32ac93a7 authored by Thomas Kramer's avatar Thomas Kramer
Browse files

CI: define when to run pipeline

parent 75547926
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: 2022 Thomas Kramer
# SPDX-FileCopyrightText: 2022-2024 Thomas Kramer
#
# SPDX-License-Identifier: CC0-1.0
steps:
build:
test:
#image: python:3.8-bullseye # For local debuggin: podman run -it --rm python:3.8-bullseye
image: debian
image: python
when:
- event: manual
- event: push
commands:
- apt update
- apt install -y python3 python3-pip
- python3 --version
- pip3 --version
- apt install -y cython3 ngspice
- apt install -y python3-numpy python3-scipy python3-matplotlib python3-networkx python3-sympy python3-joblib python3-z3
- apt install -y libjpeg-dev # Weird dependency.
- ./install.sh
- python3 -m pip install .
- ./run_tests.sh
# Run CI only on master branch.
branches: [ master ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment