Skip to content

Remove unnecessary cd in ci.yml #4

Remove unnecessary cd in ci.yml

Remove unnecessary cd in ci.yml #4

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff black
- name: Lint with Ruff
run: |
ruff check git_py_stats
- name: Check formatting with Black
run: |
black --check git_py_stats
- name: Run tests
run: |
python -m unittest discover -s git_py_stats/tests