revert numpy 2.0+ upgrade due to pyemd incompatibility #119
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: [ 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.3.3 | |
- name: Run Tests | |
run: coverage run --source=valentine -m pytest tests/ | |
- name: Generate Coverage Report | |
run: coverage xml | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |