Skip to content

Merge pull request #1 from mahendrapaipuri/add_ci_workflows #6

Merge pull request #1 from mahendrapaipuri/add_ci_workflows

Merge pull request #1 from mahendrapaipuri/add_ci_workflows #6

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install dependencies
run: |
python -m pip install -e ".[dev]"
- name: Lint with flake8
run: |
python -m flake8 jupyter_power_usage
- name: Test with pytest
run: |
python -m pytest
check_links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1