-
Notifications
You must be signed in to change notification settings - Fork 59
40 lines (36 loc) · 1.15 KB
/
unittest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ************************************************************************
# @author: Andreas Kaeberlein
# @copyright: Copyright 2021
# @credits: AKAE
#
# @license: GPLv3
# @maintainer: Andreas Kaeberlein
# @email: andreas.kaeberlein@web.de
#
# @file: unittest.yml
# @date: 2021-01-09
#
# @brief: runs unit test
#
# ************************************************************************
name: Unittest
on: [push]
jobs:
Unittest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7' # 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 ./tests/unittest/sweep_iterators/sweep_iterators_unittest.py
- name: Test LTSpice_RawRead
run: |
python ./tests/unittest/test_pyltspice.py