Skip to content

Docker build

Docker build #97

Workflow file for this run

name: Docker build
on:
push:
pull_request:
schedule:
- cron: '36 6 * * *'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11' ]
steps:
- name: Clone and checkout branch
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build project
run: make
- name: Run tests
run: make test
build:
name: Build
needs: tests
runs-on: ubuntu-latest
steps:
- name: Clone and checkout branch
uses: actions/checkout@v2
- name: Build docker image
run: docker build -t test-tag .