Skip to content

feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml #26

feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml

feat: add support for astropy >=6.1.7<8 dependency in pyproject.yaml #26

Workflow file for this run

name: twirl/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:
build:
name: CI/CD Build & Test w/pytest
strategy:
matrix:
os: [ubuntu-latest]
astropy-version: ["5.1.1", "5.3.4", "6.1.7", "7.0"]
fail-fast: false
runs-on: ${{ matrix.os }}
env:
PROJECT_NAME: "Twirl"
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 docker-compose.yml \
build \
--build-arg INSTALL_DEV="true" \
--build-arg ASTROPY_VERSION="${{ matrix.astropy-version }}"
- name: Run Pytest Suite
run: docker compose -f docker-compose.yml run app pytest