From 2595aa8f1f0fff64bf30b5afcf6b476bc85daaca Mon Sep 17 00:00:00 2001 From: mirhossein Date: Sat, 20 Jul 2024 10:19:05 +0200 Subject: [PATCH] Add github workflow for push and pull_request --- .github/workflows/ci.yaml | 17 +++++++++++++++++ 1 file changed, 17 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..ca96d04 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,17 @@ +name: CI +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install deps + run: | + pip install --user pdm + pip install -U pip + pdm install + - name: Lint + run: pdm run lint + - name: Test + run: pdm run test