Skip to content

Commit

Permalink
Merge branch 'main' into Ojas
Browse files Browse the repository at this point in the history
  • Loading branch information
ojas1901 authored Oct 20, 2023
2 parents 4e48578 + 0196c5d commit 55aceac
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/code_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Python 3.9.8
- name: Install Python 3.10.13
uses: actions/setup-python@v1
with:
python-version: 3.9.9
python-version: 3.10.13
- name: Install dependencies
run: |
pip install pytest-cov
pip install pytest-cov pytest
pip install -r requirements.txt
echo requirements installed
- name: Run the tests
run: |
python application.py &
sleep 5
cd tests
coverage run test_module.py
pytest tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 55aceac

Please sign in to comment.