more variability for folder structure of yolov8 (#64) #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- 'develop' | |
jobs: | |
coverage_tests_on_python: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Installing dependencies | |
run: | | |
pip install -e '.[default,tf,tfds]' pytest pytest-cov | |
- name: Code instrumentation | |
run: | | |
pytest -v --cov --cov-report xml:coverage.xml | |
datum -h | |
- name: Sending coverage results | |
if: matrix.python-version == '3.8' | |
run: | | |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml -t ${{ secrets.CODACY_PROJECT_TOKEN }} |