This commit is contained in:
parent
c17775b715
commit
838efc6cb6
27
.gitea/workflows/checks.yaml
Normal file
27
.gitea/workflows/checks.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: "Checks"
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
run-checks:
|
||||
name: "Run checks"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Check out the code"
|
||||
uses: "actions/checkout@v4"
|
||||
- name: "Set up Python 3.10"
|
||||
uses: "actions/setup-python@v5"
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: "Set up poetry"
|
||||
uses: "Gr1N/setup-poetry@v8"
|
||||
with:
|
||||
poetry-version: "1.7.1"
|
||||
- name: "Install deps"
|
||||
run: |
|
||||
set +x
|
||||
poetry install
|
||||
- name: "Run CI task"
|
||||
run: |
|
||||
set +x
|
||||
poetry run inv ci
|
13
.gitea/workflows/ci.yaml
Normal file
13
.gitea/workflows/ci.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: "CI"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "development"
|
||||
- "release"
|
||||
- "KIS-2"
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
name: "Checks"
|
||||
uses: "./.gitea/workflows/checks.yaml"
|
Loading…
Reference in New Issue
Block a user