Skip to content

Update github action versions #32

Update github action versions

Update github action versions #32

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install graphviz
python -m pip install --upgrade pip
pip install -r ./dev-requirements.txt
- name: Test with pytest
run: |
ruff check .
mypy ./powerplan
pytest --random-order