Skip to content

add gh-scoped-creds

add gh-scoped-creds #3

Workflow file for this run

name: tests
on:
pull_request:
paths-ignore:
- docs/**
- .github/workflows/*.yaml
- '!.github/workflows/test.yaml'
push:
paths-ignore:
- docs/**
- .github/workflows/*.yaml
- '!.github/workflows/test.yaml'
branches-ignore:
- dependabot/**
- pre-commit-ci-update-config
tags: ['**']
workflow_dispatch:
env:
PYTEST_ADDOPTS: --verbose --color=yes
jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 10
strategy:
matrix:
python:
- '3.11'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install Python dependencies
run: |
pip install ".[test]"
pip list
- name: Run tests
run: |
pytest tests