mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-06 09:20:57 +01:00
34 lines
837 B
YAML
34 lines
837 B
YAML
name: pytest linux 3.7
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
python-version: [3.7]
|
|
name: Python ${{ matrix.python-version }} ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup conda
|
|
uses: goanpeca/setup-miniconda@v1
|
|
with:
|
|
activate-environment: ${{matrix.python-version}}-xonsh-test
|
|
environment-file: ci/environment-${{matrix.python-version}}.yml
|
|
update-conda: true
|
|
python-version: ${{ matrix.python-version }}
|
|
condarc-file: ci/condarc.yml
|
|
- shell: bash -l {0}
|
|
run: |
|
|
python -m pip install . --no-deps
|
|
python -m xonsh run-tests.xsh --timeout=240
|
|
|