From bf6cdbd999751d9c7a23bf0473fba4ed89151069 Mon Sep 17 00:00:00 2001 From: venomade Date: Mon, 16 Nov 2026 10:27:15 +0000 Subject: [PATCH] Add calculator CI workflow --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5e3af3c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: Calculator CI + +on: + pull_request: + branches: [main] + push: + branches: [main] + +permissions: + contents: read + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Check out the code + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: "3.11" + - name: Install the test tools + run: python -m pip install -r requirements-dev.txt + - name: Run the tests + run: python -m pytest -v