Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maxim ci #51

Merged
merged 6 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/luseepy-test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: luseepy-test
on:
# Triggers the workflow on push or pull request events but only for the main branch
# TBD -- needs to be triggered on all branches, keep one for dev purposes for now
push:
branches: [ main ]
branches: [ maxim-ci ]
pull_request:
branches: [ main ]
branches: [ maxim-ci ]

# Enable manual activation, too
workflow_dispatch:
Expand All @@ -15,14 +15,15 @@ jobs:
PYTHONPATH: .:..
LUSEE_DRIVE_DIR: Drive
LUSEE_OUTPUT_DIR: ./output
container: lusee/lusee-night-unity-luseepy:1.0
container: lusee/lusee-night-unity-luseepy:1.2
steps:
- uses: actions/checkout@v2
- run: wget "https://drive.google.com/uc?export=download&id=1cdKZpq81DmLBy_gbGy-DpNYXbvnQAJG9" -O drive.tgz
- uses: actions/checkout@v4
- run: pwd
- run: wget "https://drive.google.com/uc?export=download&id=1PbU432IYAFSzOjWRrKMoGFR6F1M3dmaV" -O drive.tgz
- run: tar zxvf drive.tgz
- run: ls -l
# - run: python tests/LunarCalendarTest.py -v
# - run: python tests/CoordTest.py
# - run: python tests/SimTest.py
# - run: cd simulation; ln -s ../Drive .; mkdir output; python driver/run_sim.py config/example.yaml; ls -l output
# - run: python tests/SimReadTest.py simulation/output/sim_example.fits
- run: python tests/LunarCalendarTest.py -v
- run: python tests/CoordTest.py
- run: python tests/SimTest.py
- run: cd simulation; ln -s ../Drive .; mkdir output; python driver/run_sim.py config/example.yaml; ls -l output
- run: python tests/SimReadTest.py simulation/output/sim_example.fits
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
## About
A set of python utilities for performing various LuSEE-Night related calculations.

## Documentation

This software is documented on the ["Read the Docs" pages](https://luseepy.readthedocs.io/en/latest/)

## Cached Data

Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile-unity-luseepy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ COPY lusee lusee
COPY tests tests
#
ENV REFSPEC_PATH=/user/refspec
ENV PYTHONPATH=/user/luseepy:$PYTHONPATH
ENV LUSEEPY_PATH=/user/luseepy
ENV PYTHONPATH=$LUSEEPY_PATH:$PYTHONPATH
ENV LUSEE_DRIVE_DIR=/data/
#
CMD ["bash"]