Skip to content

Commit

Permalink
Generate UI files in CI for linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jun 9, 2024
1 parent 979a060 commit e269957
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@ jobs:
- uses: abatilo/actions-poetry@v2
- name: Install package
run: poetry install

# generate UI file for linting
- name: Generate UI files
run: |
Get-ChildItem -Recurse -File -Include "*.ui" | ForEach-Object {
pyuic6 $_ -o ([io.path]::ChangeExtension($_.FullName, "py"))
}
- name: Lint
run: poetry run poe lint

0 comments on commit e269957

Please sign in to comment.