Skip to content

Add python 3.11 and 3.12 to tests #1220

Add python 3.11 and 3.12 to tests

Add python 3.11 and 3.12 to tests #1220

Workflow file for this run

name: Python
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- name: Install
run: |
pip install .
pip install -r test_requirements.txt
- name: Test with mypy typing
run: |
mypy --config-file mypy.ini --package webviz_ert
- name: Test with pytest
run: |
pytest
- name: Run black
uses: psf/black@stable