Skip to content

[feat][test] add tests on cat-file & hash-object #12

[feat][test] add tests on cat-file & hash-object

[feat][test] add tests on cat-file & hash-object #12

Workflow file for this run

name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r xgit/test/requirements.txt
pip install .
- name: Config Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- name: Run tests
run: |
cd xgit
coverage run -m pytest .
coverage report -m