Skip to content

Commit

Permalink
liblk: Add tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Aug 7, 2023
1 parent 3171598 commit 13ac03e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/liblk.yml
@@ -0,0 +1,27 @@
name: liblk

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
sudo apt-get install -y git
python -m pip install --upgrade pip
pip install --upgrade git+https://github.com/R0rt1z2/liblk
- name: Run tests
run: |
python -m unittest discover -s tests -p '*_test.py'

0 comments on commit 13ac03e

Please sign in to comment.