Skip to content

utf8_decoding & tests #74

utf8_decoding & tests

utf8_decoding & tests #74

Workflow file for this run

name: Developing
# Controls when the workflow will run
on:
push:
paths:
- '**.py'
- '**.yml'
branches:
- master
pull_request:
paths:
- '**.py'
- '**.yml'
branches:
- '**'
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: actions/checkout@master
- name: Install flake8
run: pip install flake8
- name: Run flake8
uses: py-actions/flake8@v2
tests:
needs: flake8
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run pytest
shell: bash
run: python -m pytest --log-cli-level=DEBUG --capture=tee-sys -s -v tests/