mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00

* chore (ci): improve elm job speed by caching * chore (ci): update ci generator script to be run from any dir * chore: update pre-commit to use local black binary * chore: mypy config skip amalgam generated modules * chore: run-tests.xsh parameterisation use argparser to make this file a cli * feat: use requirements.txt during CI * feat: run black/flake8/mypy during ci from pip-env * chore: mypy version 0.790 fix since the loose pinning on mypy version causes new PRs to fail * refactor: update github actions template remove poetry/environment.yml files
36 lines
876 B
YAML
36 lines
876 B
YAML
name: Check Elm
|
|
|
|
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
|