[Snyk] Security upgrade werkzeug from 2.2.3 to 3.0.6 #1276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.11"] | |
os: [ubuntu-latest] | |
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 | |
run: | | |
pip install . | |
- name: Test with mypy typing | |
run: | | |
pip install -r types_requirements.txt | |
mypy --config-file mypy.ini --package webviz_ert | |
- name: Test with pytest | |
run: | | |
pip install -r test_requirements.txt | |
pytest | |
- name: Run black | |
if: ${{ matrix.python-version == '3.11'}} | |
uses: psf/black@stable |