From 207d6ea25cf11906784ddc0f45f425576a5d9553 Mon Sep 17 00:00:00 2001 From: Fujio Turner Date: Sat, 24 Aug 2024 09:32:13 -0500 Subject: [PATCH] add basic pytest actions --- .github/workflows/pytestBig.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pytestBig.yaml diff --git a/.github/workflows/pytestBig.yaml b/.github/workflows/pytestBig.yaml new file mode 100644 index 0000000..255aef3 --- /dev/null +++ b/.github/workflows/pytestBig.yaml @@ -0,0 +1,29 @@ +name: Python application + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' # Specify your Python version here, e.g., '3.9' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt # Assuming you have a requirements.txt file + + - name: Run tests with pytest + run: | + pytest # Run all tests \ No newline at end of file