Skip to content

Commit

Permalink
Add GitHub Actions Workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Oct 24, 2023
1 parent 528698e commit 14af5c4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 14af5c4

Please sign in to comment.