DM-41185: Add the technote_rst_early_adopter template #424
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: CI | |
"on": | |
push: | |
branches-ignore: | |
# These should always correspond to pull requests, so ignore them for | |
# the push trigger and let them be triggered by the pull_request | |
# trigger, avoiding running the workflow twice. This is a minor | |
# optimization so there's no need to ensure this is comprehensive. | |
- "dependabot/**" | |
- "renovate/**" | |
- "tickets/**" | |
- "u/**" | |
tags: | |
- "*" | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencdies | |
run: pip install -r requirements.txt | |
# The check command rebuilds all examples with scons and ensures that | |
# generated examples match the committed state. | |
- name: Check templates | |
run: | | |
templatekit check \ | |
--ignore "project_templates/technote_rst_early_adopter/testn-000/technote.toml" | |
# Test TeX builds only with the latest Python version, since they're | |
# fairly heavy-weight and the Python version shouldn't matter. | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: sqrereadonly | |
password: ${{ secrets.DOCKERHUB_SQREREADONLY_TOKEN }} | |
if: matrix.python == '3.10' | |
- name: Check tex builds | |
run: | | |
docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c './testTexDocs.sh' | |
if: matrix.python == '3.10' |