[002_private_public_attributes], issue #2, Modified action workflow t… #84
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
# 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 |