Skip to content

add ed-home-convert #77

add ed-home-convert

add ed-home-convert #77

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: [ "3.11", "3.12", "3.13" ]
poetry-version: [ 2.1.3 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: (1/6) Checkout
uses: actions/checkout@v4
- name: (2/6) Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: (3/6) Install poetry
uses: abatilo/actions-poetry@v4
with:
poetry-version: ${{ matrix.poetry-version }}
- name: (4/6) Install dependencies
run: |
poetry lock
poetry install
# - name: (5/6) Lint with flake8
# run: |
# python -m pip install --upgrade pip
# python -m pip install flake8 pytest
# # stop the build if there are Python syntax errors or undefined names
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# - name: (6/6) Test with pytest
# run: |
# poetry run pytest