From d724e4db52ff1cdce74748914fea6cf40803957d Mon Sep 17 00:00:00 2001 From: "Allen, Timothy" Date: Wed, 18 Sep 2024 12:32:15 -0400 Subject: [PATCH] Add test run to GitHub. --- .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..95da299 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,24 @@ +# .github/workflows/app.yaml +name: PyTest +on: push + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: "3.12" + + - name: Install pip + run: | + python -m venv --copies --upgrade-deps venv + . venv/bin/activate + python -m pip install --upgrade pip wheel .[dev] + pytest