Created
July 26, 2022 18:20
-
-
Save ibrahimroshdy/07adbe72ca9110300b81e656f29a464c to your computer and use it in GitHub Desktop.
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
# Github workflow runner instructions using cutomized actions | |
name: Code Coverage [CodeCov] | |
on: [ push ] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
name: CodeCov | |
steps: | |
########## CHECK OUT REPO AND DOWNLOAD PACKAGES AND RUN COVERAGE & CODECOV ####### | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install poetry and python packages | |
run: | | |
pip install poetry pyfiglet | |
poetry config virtualenvs.create false | |
poetry install | |
pyfiglet Continuous Integration | |
- name: Run Coverage | |
run: coverage run simple_loop.py | |
- name: Run CodeCov | |
run: codecov --token=${{ secrets.codecov_token }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment