From 1411fddb8f71b409681d91970bd468b0122bc0a4 Mon Sep 17 00:00:00 2001 From: William Vandergraaf Date: Sat, 11 Nov 2023 16:35:40 -0700 Subject: [PATCH] Add Actions workflow --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..8827c4a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Python Tests + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - 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 pytest + pip install pytest-mock + pip install -r requirements.txt + + - name: Run tests + run: | + pytest tests/test_send.py \ No newline at end of file