Skip to content

Commit

Permalink
update build.yml to use pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
kPsarakis committed May 10, 2024
1 parent be3b002 commit d18c086
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: install valentine
- name: Install Valentine
run: pip install .

- name: install coverage
- name: Install Coverage
run: pip install coverage

- name: install pytest
- name: Install Pytest
run: pip install pytest==8.2.0

- name: run tests
run: coverage run --source=valentine -m pytest discover tests
- name: Run Tests
run: coverage run --source=valentine -m pytest tests/

- name: Generate coverage report
- name: Generate Coverage Report
run: coverage xml

- name: "Upload coverage to Codecov"
Expand Down

0 comments on commit d18c086

Please sign in to comment.