8000 exclude *.tests.* for numpy package · lolpack/type_coverage_py@7d30163 · GitHub
[go: up one dir, main page]

Skip to content

exclude *.tests.* for numpy package #66

exclude *.tests.* for numpy package

exclude *.tests.* for numpy package #66

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
typecheck:
runs-on: ubuntu-latest
steps:
# Check out the repository
- name: Checkout repository
uses: actions/checkout@v4
# Set up Python 3.12
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
# Install Python dependencies and run tests
- name: Install dependencies and run pytest
run: |
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
# Install your dependencies; adjust the following lines as needed
pip install -r requirements.txt
# Run tests
pytest
# Set up Node.js (needed for Pyright)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
# Install Pyright globally using npm
- name: Install Pyright
run: npm install -g pyright
# Run Pyright type checking
- name: Run Pyright
run: pyright
# Run Pyrefly type checking
- name: Typecheck with Pyrefly
run: .venv/bin/pyrefly check
0