Github 실무 활용 사례
- 프로젝트 버전 관리
- 프로젝트 이슈 관리
- 프로젝트 문서 관리
- 지속적인 통합과 배포
- QA 자동화
지속적인 통합과 배포
- Github Actions를 이용한 자동화
- 빌드 및 배포 가능
QA 자동화 예시
- Github Actions를 활용한 QA
- QA 자동화
QA 자동화 예시 (Python)
# requirements.txt
selenium = 3.141.0
from selenium import webdriver
def test_example():
driver = webdriver.Chrome()
driver.get("<https://example.com>")
assert "Example Domain" in driver.totle
driver.quit()
name: Python Selenium Tests
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/checkout@v2
with:
python-version: 3.8
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run Selenium tests
run: python tests/test_example.py