Skip to content

Merge pull request #72 from 3D-Beacons/add-disable-func #323

Merge pull request #72 from 3D-Beacons/add-disable-func

Merge pull request #72 from 3D-Beacons/add-disable-func #323

Workflow file for this run

name: Hub API CI
on: [ push ]
# branches: [ master, development ]
# pull_request:
# branches: [ master, development ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
pip install -r requirements.txt
- name: Run Tests
env:
ENV: DEV
run: |
make test
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/master'
uses: codecov/codecov-action@v1
with:
file: ./coverage/cobertura-coverage.xml
flags: unittests
name: codecov-beacons-hub-api
fail_ci_if_error: true