Skip to content

Merge pull request #76 from AstarVienna/hb/improve_check_headers #144

Merge pull request #76 from AstarVienna/hb/improve_check_headers

Merge pull request #76 from AstarVienna/hb/improve_check_headers #144

Workflow file for this run

name: Run recipes
on:
push:
branches:
- main
pull_request:
branches:
- main
#schedule:
# # Schedule disabled because it uses all of A*V's github data.
# - # Run every day at 2:00 UTC
# - cron: "0 2 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/AstarVienna/ScopeSim_Data.git
pip install git+https://github.com/AstarVienna/ScopeSim.git
pip install astar-utils numpy more-itertools astropy PyYAML scopesim_templates
- name: Run recipes
run: |
python ESO/downloadPackages.py
python ESO/run_recipes.py --small --doCalib=1 --sequence=1
- name: Store output files
uses: actions/upload-artifact@v3
with:
name: output
path: output/