From 96718044a42d04261547b55624f9c81d031d5fb9 Mon Sep 17 00:00:00 2001 From: polarbean <harry.carey95@gmail.com> Date: Wed, 23 Oct 2024 20:21:04 +0200 Subject: [PATCH] run tests on push to github --- .github/tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/tests.yml diff --git a/.github/tests.yml b/.github/tests.yml new file mode 100644 index 0000000..893d365 --- /dev/null +++ b/.github/tests.yml @@ -0,0 +1,25 @@ +name: Run Tests on Push + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' # Specify your Python version + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run tests + run: | + python -m unittest discover -s tests -v -- GitLab