xonsh/.github/workflows/elm.yml

37 lines
876 B
YAML
Raw Normal View History

name: Check Elm
2020-08-12 15:47:27 +02:00
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Python 3.7 Elm Check Ubuntu
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/conda_pkgs_dir
key: elm-env-${{ hashFiles('ci/environment-elm.yml') }}
restore-keys: |
elm-env-
- name: Setup conda
uses: conda-incubator/setup-miniconda@v1
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