From a536bb418486376bb3018f9468e961a771a5a9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ty=C3=A1s=20Kuti?= Date: Sun, 15 Oct 2023 19:48:37 +0200 Subject: [PATCH] Create GitHub actions CI definition --- .github/workflows/python-app.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..0012ae5 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,27 @@ +name: Python application +on: + - push +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.10" + - "3.11" + - "3.12" + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Lint + run: | + make lint + - name: Test + run: | + make test