From dc0ba09abc14ef89c4afcfdccd37bc7ffa00d1da Mon Sep 17 00:00:00 2001 From: Nina Bernick Date: Thu, 30 May 2024 16:57:29 -0700 Subject: [PATCH] ci for tests --- .github/workflows/run_tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..1c73386 --- /dev/null +++ b/.github/workflows/run_tests.yml @@ -0,0 +1,27 @@ +name: "Run tests on push" + +on: + push: + branches: + - '**' + +jobs: + pytest: + name: "Pytest" + runs-on: ubuntu-latest + + steps: + - name: "Checkout code" + uses: actions/checkout@v4 + - name: "Set up Python" + uses: actions/setup-python@v2 + with: + python-version: '3.8' + + - name: "Install dependencies" + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: "Run tests" + run: | + make test