Skip to content

Merge pull request #44 from flyingcircusio/PL-131601-fix-rev-parent #128

Merge pull request #44 from flyingcircusio/PL-131601-fix-rev-parent

Merge pull request #44 from flyingcircusio/PL-131601-fix-rev-parent #128

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install liblzo2-dev libsystemd-dev
poetry install
- name: Test with pytest
run: |
poetry run pytest