Update run_sim.py to handle concurrent.futures.process.BrokenProcessPool exception #277
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: luseepy-test | |
on: | |
push: | |
branches: [ main, maxim-ci ] | |
pull_request: | |
branches: [ main, maxim-ci ] | |
# Enable manual activation, too | |
workflow_dispatch: | |
jobs: | |
luseepy-test: | |
runs-on: ubuntu-latest | |
env: | |
PYTHONPATH: .:.. | |
LUSEE_DRIVE_DIR: Drive | |
LUSEE_OUTPUT_DIR: ./output | |
container: lusee/lusee-night-unity-luseepy:1.2 | |
steps: | |
- 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 |