Skip to content

Update dependencies #241

Update dependencies

Update dependencies #241

name: Pytests
on:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install '.[dev]'
jade extensions register `python -c "import os,disco;print(os.path.dirname(disco.__path__[0]))"`/disco/extensions/jade_extensions.json
jade extensions add-logger disco
- name: Run pytests on Linux and Mac
if: matrix.os != 'windows-latest'
run: |
python -m pytest -v --disable-warnings
- name: Run pytests on Windows
if: matrix.os == 'windows-latest'
run: |
python -m pytest -v --disable-warnings tests/integration/test_generic_upgrade.py