Skip to content

add board id object to all configs #138

add board id object to all configs

add board id object to all configs #138

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
- name: Install dependencies
run: |
sudo apt install libyaml-0-2
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
- name: Test installed scripts
run: |
pip install dist/*.whl
oresat-configs > /dev/null
oresat-gen-fw-files c3
oresat-gen-dcf c3
oresat-print-od c3 > /dev/null
oresat-gen-xtce
oresat-configs cards > /dev/null
oresat-configs pdo c3 --list > /dev/null
pip uninstall -y oresat-configs