Skip to content

version 0.1.1: collect all changes since rework #8

version 0.1.1: collect all changes since rework

version 0.1.1: collect all changes since rework #8

Workflow file for this run

name: flake8
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repository under $GITHUB_WORKSPACE and install python
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
# Set up the environment
- name: Create a virtual environment
run: |
python -m pip install --upgrade pip
python -m venv .venv
- name: Activate the virtual environment
run: |
source .venv/bin/activate
- name: Install flake8
run: |
pip install flake8
# Performs a flake8 check on the fritzsniffer package and tests
- name: Run flake8
run: |
flake8 a2lparser/ tests/ --config=.flake8