juskek is executing sdk-python-ci on pull_request at 087ca437304b3f23ba60bbba69d2ca90d0583fa5 #5
Workflow file for this run
This file contains 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: sdk-python-ci | |
run-name: ${{ github.actor }} is executing ${{ github.workflow }} on ${{ github.event_name }} at ${{ github.sha }} | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- sdk-python/** | |
defaults: | |
run: | |
working-directory: sdk-python | |
jobs: | |
sdk-python-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: '1.5.1' | |
- name: Check pwd | |
run: pwd | |
- name: Install dependencies | |
run: poetry install | |
- name: Check flake8 linting | |
run: poetry run flake8 | |
- name: Check tests | |
run: poetry run pytest | |