From 66d8403c50b564a77dca177e4a9d22d52cd57468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20B=C3=B6ck?= <990588+hannob@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:34:38 +0200 Subject: [PATCH] add github action --- .github/workflows/runci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/runci.yml diff --git a/.github/workflows/runci.yml b/.github/workflows/runci.yml new file mode 100644 index 0000000..58c4054 --- /dev/null +++ b/.github/workflows/runci.yml @@ -0,0 +1,27 @@ +--- +name: runci +"on": + - pull_request + - push + +jobs: + build: + strategy: + matrix: + python-version: [3.9, 3.x] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} ${{ matrix.os }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + + pip install black ruff + - name: Run tests + shell: bash + run: | + ./runci.sh