From e325ca3d278bded15f2a32e84d7b142e2be3689b Mon Sep 17 00:00:00 2001 From: "Xavier G." Date: Fri, 22 Nov 2024 22:55:59 +0100 Subject: [PATCH] Leverage Github Actions. --- .github/workflows/main.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..badf26d --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,29 @@ +name: Moulti checks +on: +- push +jobs: + checks: + runs-on: ubuntu-24.04 + strategy: + matrix: + python-version: + - '3.10' + - '3.11' + - '3.12' + - '3.13' + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{matrix.python-version}} + uses: actions/setup-python@v5 + with: + python-version: ${{matrix.python-version}} + cache: pip + - run: pip install -r requirements.txt + - run: ruff check setup.py src/moulti + - run: mypy src/moulti + - run: pylint src/moulti + - run: ruff check tests + - run: pip install -e . + # This runs all tests except: + # - test_diff_with_delta (requires delta 0.18.x) + - run: pytest -v