Skip to content

Uplift project

Uplift project #17

Workflow file for this run

name: prometheus_fzj_weather_exporter tests
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: git config
run: |
git config --global user.email "weather@exporter.com"
git config --global user.name "Weather Exporter"
- name: Install dependencies
run: |
pip3 install -e ".[tests]"
- name: flake8 linting
run: |
flake8
- name: pyre type checking
run: |
pyre --noninteractive check
- name: execute tests
run: |
pytest