Merge pull request #371 from fvaleye/dependabot/pip/aiohttp-3.10.9 #1074
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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Check Python | |
run: | | |
make init | |
pip install pre-commit | |
pre-commit install | |
make format | |
- name: Check Data | |
run: make check-data | |
unit_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-12 | |
- macos-13 | |
- macos-14 | |
- windows-2019 | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Run unit tests | |
run: | | |
make init | |
make test-unit | |
- name: Run security and complexity | |
run: | | |
make security | |
make complexity | |
- name: Build Sphinx documentation | |
run: | | |
make build-documentation |