2024 Sept data #392
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: Test LDM-503 generation | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
branches-ignore: | |
- main | |
jobs: | |
ldm-503-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check out LFS files | |
run: | | |
git lfs install | |
git config -f .lfsconfig lfs.url https://git-lfs.lsst.cloud/lsst-dm/milestones | |
git lfs pull | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Check out LDM-503 source | |
run: > | |
GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 --recurse-submodules | |
--shallow-submodules https://github.com/lsst/ldm-503.git | |
- name: Replace LDM-503 milestones submodule | |
run: | | |
rm -rf milestones | |
ln -s .. ./milestones | |
make generated | |
working-directory: ./ldm-503 | |
- name: Build LDM-503 docker | |
run: | | |
docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make' | |
- name: Upload resulting document as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: LDM-503 PDF | |
path: ./ldm-503/LDM-503.pdf |