mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
27 lines
794 B
YAML
27 lines
794 B
YAML
name: pytest
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
python-version: [3.6, 3.7, 3.8]
|
|
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=15
|
|
|