Skip to content

Update release publishing pipeline #50

Update release publishing pipeline

Update release publishing pipeline #50

name: Check New Pull Request
on:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]
paths-ignore:
- 'documentation/decisions/**'
jobs:
build:
name: Check if passes all requirements
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
poetry-version: [ 1.5.0 ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: build esmf-aspect
run: |
cd core/esmf-aspect-meta-model-python
poetry install
poetry run download-samm-release
poetry build
- name: run tests
run: |
cd core/esmf-aspect-meta-model-python
poetry run tox -e py310
- name: run code style checks
run: |
cd core/esmf-aspect-meta-model-python
poetry run tox -e pep8