Skip to content

fix: amend get_greenwhich_sidereal_time() to correctly round microseconds in @observerly/celerity. #136

fix: amend get_greenwhich_sidereal_time() to correctly round microseconds in @observerly/celerity.

fix: amend get_greenwhich_sidereal_time() to correctly round microseconds in @observerly/celerity. #136

Workflow file for this run

name: celerity/ci
on:
pull_request:
branches:
- main
paths-ignore:
- '__pycache__'
- '.pytest_cache'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: CI/CD Build & Test w/pytest
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
env:
PROJECT_NAME: "Celerity"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Environment File
run: |
touch .env
echo PROJECT_NAME=${PROJECT_NAME} >> .env
cat .env
- name: Docker Compose Build
run: docker compose -f local.yml build --build-arg INSTALL_DEV="true"
- name: Run Pytest Suite
run: docker compose -f local.yml run app pytest
lint:
name: CI/CD Build & Lint w/mypy & ruff
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
env:
PROJECT_NAME: "Celerity"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Environment File
run: |
touch .env
echo PROJECT_NAME=${PROJECT_NAME} >> .env
cat .env
- name: Docker Compose Build
run: docker compose -f local.yml build --build-arg INSTALL_DEV="true"
- name: Run mypy Static Type Checking
run: docker compose -f local.yml run app mypy ./src/celerity