Skip to content

GitHub Actions for Python projects using poetry

License

Notifications You must be signed in to change notification settings

mikulskibartosz/actions-poetry

 
 

Repository files navigation

actions-poetry

GitHub Actions for Python projects using poetry

license release GitHub release date Dependabot Status

Getting started

Create your workflow

name: Run Tests
on: push

jobs:
  pytest:
    name: pytest
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Install
      uses: abatilo/actions-poetry@v1.5.0
      with:
        python_version: 3.8.0
        poetry_version: 1.0
        working_directory: ./working_dir # Optional, defaults to '.'
        args: install
    - name: Run pytest
      uses: abatilo/actions-poetry@v1.5.0
      with:
        python_version: 3.8.0
        poetry_version: 1.0
        working_directory: ./working_dir
        args: run python -m pytest --cov=src --cov-branch --cov-fail-under=100 tests/

License

MIT License - abatilo/actions-poetry

About the author

About

GitHub Actions for Python projects using poetry

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 64.0%
  • Shell 36.0%