Skip to content

Commit

Permalink
Add tmt lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi committed Aug 8, 2024
1 parent bb3d5e6 commit 0d96284
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tmt_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: tmt Lint
on: # yamllint disable-line rule:truthy
pull_request:
merge_group:
branches:
- main
types:
- checks_requested
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
tmt_lint:
runs-on: ubuntu-latest
steps:
- name: Install podman
run: |
set -euxo pipefail
sudo apt update
sudo apt install -y podman
- name: Checkout repo
uses: actions/checkout@v4
with:
path: tft-tests

- name: Run tmt Lint
run: >
podman run -it
--volume ./tft-tests:/tft-tests:Z
--workdir /tft-tests
--rm quay.io/testing-farm/tmt
tmt lint

0 comments on commit 0d96284

Please sign in to comment.