Skip to content

Merge pull request #110 from okp4/ci/install-workflows #215

Merge pull request #110 from okp4/ci/install-workflows

Merge pull request #110 from okp4/ci/install-workflows #215

Workflow file for this run

name: Build
on:
workflow_call:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build-python:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Python Poetry
uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: 1.1.11
- name: Install project dependencies
run: |
poetry install
- name: Build project
run: |
poetry build
build-docker:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Make docker image
run: |
docker build .