kpi-web-guild / django-girls-blog-Martolivna

django-girls-blog-Martolivna created by GitHub Classroom
Other
0 stars 0 forks source link

Add integration with GitHub Actions CI/CD #14

Closed webknjaz closed 1 year ago

webknjaz commented 2 years ago

Please configure integration with GitHub Actions CI/CD:

name: 🧪

on: push: pull_request:

jobs: linters: runs-on: ubuntu-latest

steps:
- name: Fetch the src
  uses: actions/checkout@v3
- name: Set up Python 3.11
  uses: actions/setup-python@v4
  with:
    python-version: 3.11

- name: Install pre-commit
  run: python -m pip install --upgrade pre-commit

- name: Run pre-commit
  run: python -m pre_commit run --all-files
  env:
    SKIP: no-commit-to-branch

...


* [x] Add GitHub Actions CI/CD badge (`main` branch) to `README.md` with a separate commit. (`[![🧪 CI/CD](https://github.com/kpi-web-guild/django-girls-blog-Martolivna/actions/workflows/ci.yml/badge.svg)](https://github.com/kpi-web-guild/django-girls-blog-Martolivna/actions/workflows/ci.yml?query=branch%3Amain)`)
* [ ] Push the branch and create a Pull Request for it.