From a70dd981c04f444c4f3ea60e26181205a93a48eb Mon Sep 17 00:00:00 2001 From: flyingpeakock Date: Mon, 22 Jun 2026 22:07:28 +0200 Subject: [PATCH] Add GitHub Actions workflow for running pytest --- .github/workflows/pytest.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/pytest.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..720ab32 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,34 @@ +name: Run Tests + +on: + push: + branches: + - main + - master + pull_request: + +jobs: + pytest: + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: ["3.12"] + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e . + pip install pytest + + - name: Run pytest + run: pytest