Skip to content

Commit

Permalink
liblk: Add workflow to run tests automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Aug 7, 2023
1 parent 2d55bd3 commit 92a2b20
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/liblk.yml
Original file line number Diff line number Diff line change
@@ -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 92a2b20

Please sign in to comment.