Skip to content

Add yolo notebook

Add yolo notebook #184

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
env:
ABRAIA_ID: ${{ secrets.ABRAIA_ID }}
ABRAIA_KEY: ${{ secrets.ABRAIA_KEY }}
run: |
pip install pytest
pip install coveralls pytest-cov
pytest -v tests/ --cov=abraia
- name: Build package
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}