Skip to content

Instantly share code, notes, and snippets.

@ibrahimroshdy
Created July 26, 2022 18:20
Show Gist options
  • Save ibrahimroshdy/07adbe72ca9110300b81e656f29a464c to your computer and use it in GitHub Desktop.
Save ibrahimroshdy/07adbe72ca9110300b81e656f29a464c to your computer and use it in GitHub Desktop.
# 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