cicd: also push bleeding image on git tags (#122) #330
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: Unittests | |
on: [push] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
# check out repo | |
- uses: actions/checkout@v4 | |
# install all deps in pipenv | |
- name: install_deps | |
uses: VaultVulp/[email protected] | |
with: | |
command: install -d | |
# show installed deps in graph | |
- name: show_graph | |
uses: VaultVulp/[email protected] | |
with: | |
command: graph # shows installed pip packages | |
# run pytest through coverage package and generate report | |
- name: test | |
uses: VaultVulp/[email protected] | |
with: | |
command: | | |
run pytest -vv --cov --cov-report=xml | |
# upload coverage to codecov | |
- name: upload | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: very-doge-wow/stella |