bump version (#23) #150
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: Codecov | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up Python (you can adjust this for other languages) | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
# Install dependencies | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install pytest | |
pip install coverage | |
# Run tests and generate coverage report | |
- name: Run Tests and Generate Coverage | |
run: coverage run -m pytest | |
# Upload coverage data to Codecov | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |