Skip to content

Commit

Permalink
feat: Add CI workflow for linting
Browse files Browse the repository at this point in the history
Add a Github CI workflow to execute the configured linting checks on
pull requests and when pushing against the main or track/* branches.

Signed-off-by: Phoevos Kalemkeris <phoevos.kalemkeris@canonical.com>
  • Loading branch information
phoevos committed Sep 12, 2023
1 parent 2eced94 commit 9d2e7a2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/on_pull_and_push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: On Pull Request / Push

on:
push:
branches:
- main
- track/**
pull_request:

jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: python3 -m pip install tox
- run: tox -e lint

0 comments on commit 9d2e7a2

Please sign in to comment.