From 13ac03efb97c2ae72412bfb7db5066ce7861a4e0 Mon Sep 17 00:00:00 2001 From: R0rt1z2 Date: Tue, 8 Aug 2023 01:27:46 +0200 Subject: [PATCH] liblk: Add tests workflow --- .github/workflows/liblk.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/liblk.yml diff --git a/.github/workflows/liblk.yml b/.github/workflows/liblk.yml new file mode 100644 index 0000000..6d19754 --- /dev/null +++ b/.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' \ No newline at end of file