diff --git a/.github/workflows/run_tests_master.yml b/.github/workflows/run_tests_master.yml index 4a605657..417aeb7a 100644 --- a/.github/workflows/run_tests_master.yml +++ b/.github/workflows/run_tests_master.yml @@ -68,7 +68,7 @@ jobs: python -m pip install pytest igraph pytest-split if [${{ matrix.python-version != '3.11' }}]; then python -m pip install numba; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower; + python -m pip install pandapower; python -m pip install . shell: bash - name: List all installed packages @@ -112,6 +112,35 @@ jobs: '**.rst' + relying: + runs-on: ${{ matrix.os }} + strategy: + matrix: + python-version: ['3.8', '3.9', '3.10', '3.11'] + os: [ ubuntu-latest, windows-latest ] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install pytest igraph pytest-split + if [${{ matrix.python-version != '3.11' }}]; then python -m pip install numba; fi + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install git+https://github.com/e2nIEE/pandapower@master#egg=pandapower; + python -m pip install . + shell: bash + - name: List all installed packages + run: | + python -m pip list + - name: Test with pytest + if: ${{ matrix.python-version != '3.9' }} + run: | + python -m pytest + tutorial_tests: runs-on: ${{ matrix.os }} strategy: