From 14af5c410aa583f75d1615993fb62d898fbfc77a Mon Sep 17 00:00:00 2001 From: Elias Date: Tue, 24 Oct 2023 12:33:46 +0200 Subject: [PATCH] Add GitHub Actions Workflow. --- .github/workflows/ubuntu.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ubuntu.yml diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml new file mode 100644 index 0000000..96a55b1 --- /dev/null +++ b/.github/workflows/ubuntu.yml @@ -0,0 +1,28 @@ +name: Ubuntu + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Install Poetry + run: pipx install poetry + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11.1' + cache: poetry + + - name: Install dependencies + run: | + sudo apt-get install -qq swig libpcsclite-dev + poetry install + + - name: Run unit tests + run: poetry run pytest \ No newline at end of file