Update .forgejo/workflows/build.yml
This commit is contained in:
parent
a194a1fda2
commit
381c763a3c
1 changed files with 14 additions and 0 deletions
|
@ -6,9 +6,22 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
syntax:
|
||||||
|
name: Check syntax
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
- name: Install dependencies
|
||||||
|
uses: apt update && apt install xmllib2
|
||||||
|
- name: Check syntax of Python file
|
||||||
|
run: python3 -m py_compile sweecrypt-gtk.py
|
||||||
|
- name: Check syntax of XML file
|
||||||
|
run: xmllint --format sweecrypt-gtk.ui
|
||||||
x11:
|
x11:
|
||||||
name: Test the application
|
name: Test the application
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
needs: syntax
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
@ -38,6 +51,7 @@ jobs:
|
||||||
apt:
|
apt:
|
||||||
name: Build Debian Package
|
name: Build Debian Package
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
needs: syntax
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
|
Loading…
Add table
Reference in a new issue