-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 993 Bytes
/
main.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
# Test all scripts in tests/ and doc compilation
name: main_actions
on: push
jobs:
test_all_tests:
runs-on: [ubuntu-latest]
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install python3-tk
- run: python3 -m venv env
- run: source bin/activate
- run: python3 -m pip install sv-ttk
- run: python3 -m pip install pandas
- run: python3 -m pip install matplotlib
- run: python3 -m pip install typing-extensions
- run: python3 -m unittest tests/test_gui_window_basic.py -v
test_documentation:
if: contains( github.ref, 'master')
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install python3-sphinx
- run: pip install sphinx-rtd-theme
- run: pip install myst-parser
- run: pip install sphinxcontrib-bibtex
- run: make html