Skip to content

Started to test source code and using codecov #1

Started to test source code and using codecov

Started to test source code and using codecov #1

Workflow file for this run

name: Release package to pypi
on:
push:
branches:
- main
- unit-test
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Poetry Version
run: |
poetry --version
- name: Poetry Install Dependencies
run: |
poetry install --no-interaction
- name: Test
run: |
poetry run pytest test --cov=./plotly_extend_wrapper --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}