Throwaway: call the quality-checks workflow with clean and seeded files (TirSystem/github-action issue 17)
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
name: Quality call test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ verify-quality-checks ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
clean-files:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@verify-quality-workflow
|
||||||
|
with:
|
||||||
|
working-directory: qc-clean
|
||||||
|
|
||||||
|
seeded-failure:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@verify-quality-workflow
|
||||||
|
with:
|
||||||
|
working-directory: qc-seed
|
||||||
|
|
||||||
|
nothing-to-check:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@verify-quality-workflow
|
||||||
|
with:
|
||||||
|
languages: python
|
||||||
|
working-directory: .gitea
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
"""Clean example."""
|
||||||
|
|
||||||
|
|
||||||
|
def add(a: int, b: int) -> int:
|
||||||
|
"""Return the sum."""
|
||||||
|
return a + b
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
echo "hello"
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
import os
|
||||||
|
x=1
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
echo $1
|
||||||
Reference in New Issue
Block a user