Skip to content

Commit

Permalink
Merge pull request #5 from lsst/tickets/DM-27143
Browse files Browse the repository at this point in the history
DM-27143: Convert build to use GitHub Actions
  • Loading branch information
jonathansick committed Oct 15, 2020
2 parents 6f67edd + eacc32d commit 56fd6d2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 23 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,33 @@
name: CI

"on": [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # full history for metadata
submodules: true

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Python install
run: |
python -m pip install --upgrade pip
python -m pip install "lander<2.0.0"
- name: TeX build
run: |
docker run --rm -v `pwd`:/workspace -w /workspace lsstsqre/lsst-texmf:latest sh -c 'make'
- name: Landing page upload
if: ${{ github.event_name == 'push' }}
env:
LTD_PASSWORD: ${{ secrets.LTD_PASSWORD }}
LTD_USERNAME: ${{ secrets.LTD_USERNAME }}
run: |
lander --upload --pdf LDM-554.pdf --lsstdoc LDM-554.tex --ltd-product ldm-554
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
@@ -1,7 +1,7 @@
.. image:: https://img.shields.io/badge/ldm--554-lsst.io-brightgreen.svg
:target: https://ldm-554.lsst.io
.. image:: https://travis-ci.org/lsst/LDM-554.svg
:target: https://travis-ci.org/lsst/LDM-554
.. image:: https://github.com/lsst/LDM-554/workflows/CI/badge.svg
:target: https://github.com/lsst/LDM-554/actions/

##################################################
Data Management LSST Science Platform Requirements
Expand Down

0 comments on commit 56fd6d2

Please sign in to comment.