From 3622cb8ab290093896555aa496bece299391f86c 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 | 16 ++++++++++++++++ 1 file changed, 16 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..b7fec79 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,16 @@ +name: CI +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install deps + run: | + python3 -m pip install --user pdm + python3 -m pip install -U pip + pdm install + - name: Lint + - run: pdm run lint + - name: Test + - run: pdm run test