From 956cb2e43bff3d7580a5c510462a03ac5d9cdd54 Mon Sep 17 00:00:00 2001 From: Yoland Y <4950057+yoland68@users.noreply.github.com> Date: Wed, 15 May 2024 12:42:20 -0700 Subject: [PATCH] Fix pytest workflow --- .github/workflows/pytest.yml | 25 +++++++++++++++++++++++++ requirement.txt => requirements.txt | 0 2 files changed, 25 insertions(+) create mode 100644 .github/workflows/pytest.yml rename requirement.txt => requirements.txt (100%) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..7ce1c34 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,25 @@ +name: Run pytest + +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.9' # Adjust the version as needed + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest + pip install -r requirements.txt # If you have other dependencies + + - name: Run tests + run: | + pytest \ No newline at end of file diff --git a/requirement.txt b/requirements.txt similarity index 100% rename from requirement.txt rename to requirements.txt