From 674d833b15451d79744d8417ceae02950765bac7 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Fri, 4 Aug 2023 16:12:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20GitHub=20Actions:=20Add=20test?= =?UTF-8?q?=20worklow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e48f6ff --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: release + +on: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Build package + run: python3 -m pip install --upgrade build && python3 -m build + - name: Test + run: python3 -m pip install -r requirements-dev.txt && pytest