Skip to content

Upgrade opendssdirect to v0.8.4 #236

Upgrade opendssdirect to v0.8.4

Upgrade opendssdirect to v0.8.4 #236

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