summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: cb480e1842f8e48adf4b4c170c4c3dd12ca04406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.8", "3.12"]
    steps:
        - uses: actions/checkout@v4
        - uses: actions/setup-python@v5
          with:
            python-version: ${{ matrix.python-version }}
        - name: Run image
          uses: abatilo/actions-poetry@v2
        - name: Poetry install
          run: poetry install
        - name: Run build
          run: poetry run pytest