Skip to content

PRUcam kernel module fix plus logging and errror handling #23

PRUcam kernel module fix plus logging and errror handling

PRUcam kernel module fix plus logging and errror handling #23

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-star-tracker repository
uses: actions/checkout@v3
- name: Clone oresat-configs repository
uses: actions/checkout@v3
with:
repository: oresat/oresat-configs
path: resources/oresat-configs
- name: Set up Python 3.9
uses: actions/setup-python@v3
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 Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check format with Black
run: black --check --diff .
- name: Check format with isort
run: isort --check --diff .
- name: Test building pypi package
run: python -m build