Skip to content

Add workflow dispatch option #124

Add workflow dispatch option

Add workflow dispatch option #124

Workflow file for this run

name: Tests
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: Gr1N/setup-poetry@v9
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest
env:
IPREGISTRY_API_KEY: ${{ secrets.IPREGISTRY_API_KEY }}