From cfd636401e432985b1ece52a40b7d81b12f293b2 Mon Sep 17 00:00:00 2001 From: Wes Barnett Date: Sun, 14 Feb 2021 16:49:18 -0500 Subject: [PATCH] add github workflow --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..5ee39a3 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Run Python Tests +on: + push: + branches: + - python + pull_request: + branches: + - python + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install Python + uses: actions/setup-python@v1 + with: + python-version: 3.9 + - name: Install dependencies + run: python -m pip install --upgrade pip pytest + - name: Run tests with pytest + run: pytest tests.py