Detect, Validate & Upgrade SAMM files via CLI prettyprint #168
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 run download-samm-cli | |
| 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 |