2020-03-02 07:46:21 -05:00
|
|
|
name: Check Elm
|
|
|
|
|
2020-08-12 15:47:27 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-03-02 07:46:21 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Python 3.7 Elm Check Ubuntu
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-10-19 21:22:37 +05:30
|
|
|
- uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: ~/conda_pkgs_dir
|
|
|
|
key: elm-env-${{ hashFiles('ci/environment-elm.yml') }}
|
|
|
|
restore-keys: |
|
|
|
|
elm-env-
|
2020-03-02 07:46:21 -05:00
|
|
|
- name: Setup conda
|
2020-10-08 13:54:03 -05:00
|
|
|
uses: conda-incubator/setup-miniconda@v1
|
2020-03-02 07:46:21 -05:00
|
|
|
with:
|
|
|
|
activate-environment: elm-xonsh-test
|
|
|
|
environment-file: ci/environment-elm.yml
|
|
|
|
update-conda: true
|
|
|
|
python-version: 3.7
|
|
|
|
condarc-file: ci/condarc.yml
|
|
|
|
- shell: bash -l {0}
|
|
|
|
run: |
|
|
|
|
python -m pip install . --no-deps
|
|
|
|
pushd xonsh/webconfig
|
|
|
|
python -m xonsh elm-compile.xsh
|
|
|
|
popd
|