Fixing issue 120 #375
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
# ************************************************************************ | |
# @author: Andreas Kaeberlein | |
# @copyright: Copyright 2021 | |
# @credits: AKAE | |
# | |
# @license: GPLv3 | |
# @maintainer: Nuno Brum | |
# @email: [email protected] | |
# | |
# @file: unittest.yml | |
# @date: 2023-08-09 | |
# | |
# @brief: runs unit test | |
# | |
# ************************************************************************ | |
name: Unittest | |
on: [push] | |
jobs: | |
Unittest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' # Version range or exact version of a Python version to use, using semvers version range syntax. | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install numpy | |
- name: Test sweep_iterators.py | |
run: | | |
python ./unittests/sweep_iterators_unittest.py | |
- name: Test spicelib | |
run: | | |
python ./unittests/test_spicelib.py | |
- name: Test QSpice Raw Reader | |
run: | | |
python ./unittests/test_qspice_rawread.py | |
- name: Test Spice Editor | |
run: | | |
python ./unittests/test_spice_editor.py | |
- name: Test Asc_Editor | |
run: | | |
python ./unittests/test_asc_editor.py | |
- name: Test Qsch Editor | |
run: | | |
python ./unittests/test_qsch_editor.py |