Skip to content

Modified the test to display the image. #110

Modified the test to display the image.

Modified the test to display the image. #110

Workflow file for this run

name: Testing
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
testing:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
poetry-version: [1.8.2]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install Dependencies
run: poetry install --no-interaction
- name: Format Check
run: poetry run flake8 src/ --ignore=E501,E203,W503,W504,F841
# - name: Type Check
# run: poetry run mypy src/
- name: Run Tests
run: poetry run pytest -v tests/ --cov-config=.coveragerc --cov=src/ --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
if: ${{ matrix.python-version==3.10 }}
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # ← CODECOVのアップロードトークン
file: ./coverage.xml
name: codecov-umbrella
fail_ci_if_error: true