Skip to content

Update star_tracker_service.py #13

Update star_tracker_service.py

Update star_tracker_service.py #13

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Clone oresat-cfc 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 linux dependencies
run: |
sudo apt install swig
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build beast
working-directory: oresat_star_tracker/beast
run: make
- 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