Skip to content

πŸ”„ synced file(s) with conda/infrastructure #415

πŸ”„ synced file(s) with conda/infrastructure

πŸ”„ synced file(s) with conda/infrastructure #415

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
run_test_suite:
name: ${{ matrix.os }}-py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
env:
test-dependencies: pytest pytest-cov conda
strategy:
fail-fast: false
matrix:
os: [windows]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- shell: bash -l {0}
name: Conda info
run: |
conda info
conda list
- shell: bash -l {0}
name: Install dependencies
run: |
conda install ${{ env.dependencies }} ${{ env.test-dependencies }}
conda list
- shell: bash -l {0}
name: Install menuinst
run: |
pip install -e .
- shell: bash -l {0}
name: Run test suite
run: |
pytest tests --cov-append --cov-report=xml --cov=menuinst
- uses: codecov/codecov-action@v1
with:
name: ${{ matrix.os }}-py${{ matrix.python-version }}