22 lines
360 B
YAML
22 lines
360 B
YAML
|
# Disable sudo to speed up the build
|
||
|
sudo: false
|
||
|
|
||
|
# Set the build language to Python
|
||
|
language: python
|
||
|
|
||
|
# Set the python version to 3.8
|
||
|
python: 3.8
|
||
|
|
||
|
# Install the codecov pip dependency
|
||
|
install:
|
||
|
- pip install codecov
|
||
|
- pip install pytest
|
||
|
|
||
|
# Run the unit test
|
||
|
script:
|
||
|
- coverage run -m pytest
|
||
|
|
||
|
# Push the results back to codecov
|
||
|
after_success:
|
||
|
- codecov
|