Skip to content

Updated github actions configures using rye #41

Updated github actions configures using rye

Updated github actions configures using rye #41

Workflow file for this run

name: Unit test
on:
push:
branches: [main, rye]
jobs:
Unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install a specific version
uses: eifinger/setup-rye@v3
with:
version: 'latest'
- name: Install dependencies
run: rye sync
- name: Test
run: |
rye run pytest test --cov=./plotly_extend_wrapper --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}