Skip to content

added component scan feature #43

added component scan feature

added component scan feature #43

name: Test python code and upload coverage reports to Codecov
on:
push:
branches: [ "main" ]
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
name: Test python code
steps:
- uses: actions/checkout@v1
- name: Install pytest and coverage
run: pip install pytest pytest-cov
- name: Run tests and collect coverage
run: pytest --cov ./autowired
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}