Update GH Actions #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build test .deb package | |
on: [push] | |
jobs: | |
PyTest: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.8.3" | |
- name: Set up poetry environment | |
run: poetry install --only test | |
- name: Run pytest | |
run: poetry run pytest | |
- name: Change in-app version | |
run: bash ./scripts/bump_version.sh git-$(git rev-parse HEAD)' | |
- name: Run build script | |
run: bash ./scripts/build_debian/build.sh | |
- name: Upload bundle | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debian package | |
path: openfreebuds_*.deb |