Skip to content

chore(deps): update pypa/gh-action-pypi-publish digest to 93e8795 #300

chore(deps): update pypa/gh-action-pypi-publish digest to 93e8795

chore(deps): update pypa/gh-action-pypi-publish digest to 93e8795 #300

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python Test
on:
push:
branches:
- main
- "release/**"
pull_request:
branches:
- main
- "release/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ipykernel pytest pytest-cov pytest-mock coverage codecov
- name: Test with pytest
run: |
pytest --cov --cov-report=term-missing -vv tests nbtutor
codecov -t ${{ secrets.CODECOV_TOKEN }}