Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

chore(deps): update python docker tag to v3.13.0 #296

chore(deps): update python docker tag to v3.13.0

chore(deps): update python docker tag to v3.13.0 #296

Workflow file for this run

name: "Native Build & Test"
on:
pull_request:
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: [ 3.7, 3.8, 3.9 ]
poetry-version: [ 1.2.2 ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install
run: poetry install
- id: files
name: Changed Files Exporter
uses: futuratrepadeira/[email protected]
with:
repo-token: ${{ github.token }}
pattern: '^.*\.py$'
- name: Check type hints
run: |
if [ -n "${{ steps.files.outputs.files_created }}" ] || [ -n "${{ steps.files.outputs.files_updated }}" ]
then
poetry run mypy --show-error-context --show-column-numbers --show-error-codes --pretty ${{ steps.files.outputs.files_created }} ${{ steps.files.outputs.files_updated }}
fi
- name: Test with pytest
run: |
poetry run pytest tests/ --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html