Skip to content

Merge pull request #3 from Liveston/patch-1 #68

Merge pull request #3 from Liveston/patch-1

Merge pull request #3 from Liveston/patch-1 #68

Workflow file for this run

name: CI/CD # pipeline's name that will appear in Github Actions
on: # events that trigger our pipeline: push on any branch and release creation
push:
release:
types: [created]
jobs: # jobs. We will have two jobs (test and publish) with multiple steps.
test:
# Our test job will run on ubuntu.
# We define matrix strategy for python-version so that
# our tests are run on multiple python versions:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image # install poetry
uses: abatilo/[email protected]
- name: Install dependencies # install all dependencies
run:
export PYTHONIOENCODING=utf8
poetry install
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml