From 9da8f67b1181150e4c018462525f4b9ee0409f3c Mon Sep 17 00:00:00 2001 From: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com> Date: Mon, 29 Jul 2024 12:21:57 -0400 Subject: [PATCH] Add automated test workflow for PRs and push (#15) * Create run-tests.yml Add automated test workflow for PRs and push * Update run-tests.yml use python 3.12 * set pytest run to show skipped tests on auto test --- .github/workflows/run-tests.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..18e7c20 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,29 @@ +name: run-tests + +on: + pull_request: + push: + +jobs: + run-tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: install dependencies + run: pip install . + shell: bash + + - name: install pytest + run: pip install pytest + shell: bash + + - name: run test + run: pytest -rs + shell: bash