Skip to content

add supported python versions #14

add supported python versions

add supported python versions #14

Workflow file for this run

name: Python Test
on:
push:
branches: [master, develop, "release/*", "feature/*", "bugfix/*"]
pull_request:
branches: [master, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- 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
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests with coverage
run: |
export PYTHONPATH=/home/runner/work/python-namesilo/python-namesilo
python -m unittest --verbose tests/test_namesilo.py