From 753c9dc3f222739616b2940996cd17cbfd730b07 Mon Sep 17 00:00:00 2001 From: Wolfgang Koebele Date: Wed, 28 Feb 2024 21:43:38 +0100 Subject: [PATCH] Adds test workflow --- .github/workflows/run-tests.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..b0c77b3 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,24 @@ +name: Python package + +on: + push: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.8 + uses: actions/setup-python@v5 + with: + python-version: '3.8' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -r requirements.txt + - name: Run Tests + run: python tests.py +