diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..2bce4b6 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,28 @@ +name: Pytest + +on: + pull_request: + branches: + - master + - dev + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: 3.9 + + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt # Replace with your dependencies + + - name: Run Pytest + run: pytest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f9708e4 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pytest==7.4.3