GitHub Actions CI/CD
Automate your workflow with GitHub Actions.
Basic Workflow
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install -r requirements.txt
- run: python -m pytest
Discussion 0
No comments yet. Be the first to start the discussion!
Leave a Comment