Github Action을 활용하여 특정한 조건에 의해 실행되는 Workflow를 정의하고, 실행해보는 실습을 진행합니다.

실습 준비

해당 실습 자료는 5. Git Tag & Github Release 생성하기 에서 이어집니다.

Pytest CI Workflow

  1. Pytest Workflow 추가 Issue 생성

    Untitled

  2. 작업 브랜치 생성

  3. Python 라이브러리 설정

  4. Pytest 테스트 코드 작성

  5. Github Action Workflow 추가하기

  6. Githup push 및 테스트 실행 확인하기

    Untitled

추가로 확인해보면 좋은 workflow 예제들

  1. Github Release Drafter Workflow
  2. Google Cloud Platform Cloud Run 배포 Workflow