From 70b580a6e892bee917bfd09abc8919dcf18f814f Mon Sep 17 00:00:00 2001 From: Patrick Marlow Date: Tue, 23 Jul 2024 20:21:28 -0500 Subject: [PATCH] feat: add testing action --- .github/workflows/tester.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tester.yml diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml new file mode 100644 index 00000000..877a9ee0 --- /dev/null +++ b/.github/workflows/tester.yml @@ -0,0 +1,27 @@ +name: pytest + +on: + push: + branches: + - '**' + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Step up Python + uses: actions/setup-python@v4 + with: + python-version: "3.8" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest + - name: Running Tests + run: | + pytest tests/dfcx_scrapi/