Skip to content

Commit

Permalink
Add CI job for package build
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Jul 24, 2023
1 parent 73256ed commit 26f1139
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ env:
MYPY_FORCE_TERMINAL_WIDTH: "180"

jobs:
build:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U -r misc/requirements/requirements-tox.txt
- name: "Run package build"
run: |
dbus-run-session -- tox -e build
linters:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
timeout-minutes: 10
Expand Down Expand Up @@ -180,7 +200,8 @@ jobs:
python: "3.9"
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/cache@v3
Expand Down

0 comments on commit 26f1139

Please sign in to comment.