Skip to content

Merge pull request #280 from shakenfist/fix-hotplug-interfce-address #660

Merge pull request #280 from shakenfist/fix-hotplug-interfce-address

Merge pull request #280 from shakenfist/fix-hotplug-interfce-address #660

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches:
- develop
- v*-releases
pull_request:
branches:
- develop
- v*-releases
jobs:
lint:
runs-on: self-hosted
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-lint
cancel-in-progress: true
steps:
- name: Checkout code with two commits
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Lint with flake8
run: |
/usr/bin/tox -eflake8
build38:
runs-on: self-hosted
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-build38
cancel-in-progress: true
steps:
- name: Checkout code with two commits
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Run python3 unit tests
run: |
/usr/bin/tox -epy3