Uplift project #12
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: 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: | | |
pip install -e ".[tests]" | |
- name: flake8 linting | |
run: | | |
flake8 | |
- name: pyre type checking | |
run: | | |
pyre --noninteractive check | |
- name: execute tests | |
run: | | |
pytest |