handle missing node in app error #205
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
name: tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Clone oresat-c3 repository | |
uses: actions/checkout@v2 | |
- name: Clone oresat-configs repository | |
uses: actions/checkout@v2 | |
with: | |
repository: oresat/oresat-configs | |
path: resources/oresat-configs | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Build and install oresat-configs | |
working-directory: resources/oresat-configs | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
python -m build | |
pip install dist/*.whl | |
- name: Clean up oresat-configs | |
run: rm -rf resources/oresat-configs | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Lint with Pylama | |
run: pylama | |
- name: Check format with Black | |
run: black --check --diff . | |
- name: Check format with isort | |
run: isort --check --diff . | |
- name: Test with Python's unittest | |
run: python -m unittest | |
- name: Test building pypi package | |
run: python -m build | |
- name: Test building sphinx docs | |
run: make -C docs html |