From 69ccb9557d652716e5a9affe3088942a7859b93e Mon Sep 17 00:00:00 2001 From: Melvin Klein Date: Thu, 24 Oct 2024 13:30:05 +0200 Subject: [PATCH 1/2] adds ci pipeline --- .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..dacdda8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: CI Workflow + +on: [pull_request, push] + +jobs: + main: + name: CI + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install + run: make install-dev + - name: Lint + run: make lint + - name: Test + run: make test From e8e58dd83fa20ce2c920d15ba0864ba5f9f181c3 Mon Sep 17 00:00:00 2001 From: Melvin Klein Date: Thu, 24 Oct 2024 13:35:42 +0200 Subject: [PATCH 2/2] change trigger --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dacdda8..2934e64 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ name: CI Workflow -on: [pull_request, push] +on: [pull_request, workflow_dispatch] jobs: main: