Skip to content

Update build.yml

Update build.yml #105

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install valentine
run: pip install .
- name: install coverage
run: pip install coverage
- name: install pytest
run: pip install pytest==8.2.0
- name: run tests
run: coverage run --source=valentine -m pytest discover tests
- name: Generate coverage report
run: coverage xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1