Skip to content

Fix missing terminal config. #112

Fix missing terminal config.

Fix missing terminal config. #112

Workflow file for this run

name: pytest-netdut
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest tox
- name: Test using tox
run: |
tox -s -e "py37,py38,py39,py310,py311"
# - name: Test Summary
# uses: test-summary/action@v1
# with:
# paths: |
# test-reports/*.xml
# if: always()
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox build twine
- name: Lint
run: |
tox -e "black,prospector"
- name: Build and check the build
run: |
python3 -m build
twine check dist/*
# - name: Lint Summary
# uses: test-summary/action@v1
# with:
# paths: |
# test-reports/*.xml
# if: always()