Skip to content

Add EDL commands to XTCE generator #178

Add EDL commands to XTCE generator

Add EDL commands to XTCE generator #178

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 update
sudo apt install -y libyaml-0-2 libxml2-utils
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
curl -O https://www.omg.org/spec/XTCE/20180204/SpaceSystem.xsd
xmllint --noout --schema SpaceSystem.xsd oresat0_5.xtce
oresat-configs cards > /dev/null
oresat-configs pdo c3 --list > /dev/null
pip uninstall -y oresat-configs