Skip to content

fix: Don't create migration if there are no schema changes (#118) #181

fix: Don't create migration if there are no schema changes (#118)

fix: Don't create migration if there are no schema changes (#118) #181

name: Build and test
on:
pull_request:
types:
- edited
- opened
- synchronize
- reopened
push:
branches: [main]
jobs:
build-and-test:
name: pytest
runs-on: ubuntu-latest
concurrency:
group: platformics-build-and-test-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout code
uses: actions/checkout@v4
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: install poetry
run: |
python -m pip install --no-cache-dir poetry==1.8 supervisor
- name: set up docker
run: make gha-setup
- name: Build docker image
run: make build
- name: run tests
run: make test