This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Bump the pip group across 3 directories with 5 updates #4
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: Core | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
FLWR_TELEMETRY_ENABLED: 0 | |
jobs: | |
test_core: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python: [3.7.15, 3.8.15, 3.9.16, 3.10.9] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install build tools | |
run: | | |
python -m pip install -U pip==22.3.1 | |
python -m pip install -U setuptools==65.6.3 | |
python -m pip install -U poetry==1.3.2 | |
poetry config virtualenvs.create false | |
- name: Install dependencies (mandatory only) | |
run: python -m poetry install --extras "simulation" | |
- name: Check if protos need recompilation | |
run: ./dev/check-protos.sh | |
- name: Lint + Test (isort/black/docformatter/mypy/pylint/flake8/pytest) | |
run: ./dev/test.sh |