Skip to content

Change standart to standard #40

Change standart to standard

Change standart to standard #40

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
name: Test Python package
runs-on: ubuntu-latest
container:
image: pierremarchand/asciinema_playground
options: --user root
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Set up Python package
run: |
python3 -m pip install --upgrade pip
python3 -m pip install .[test]
- name: Run regression tests
run: |
set enable-bracketed-paste off
pytest
- name: Check module imports with isort
run: |
python3 -m pip install isort
python3 -m isort . --check-only --diff
# uses: isort/isort-action@master
- name: Check formatting with black
uses: psf/black@stable
- name: Check building a binary wheel and a source tarball
run: |
python3 -m pip install twine build --user
python3 -m build --sdist --wheel --outdir dist/ .
python3 -m twine check dist/*