mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 14:50:16 +00:00
26 lines
649 B
YAML
26 lines
649 B
YAML
name: Python package
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
# You can test your matrix by printing the current Python version
|
|
- name: Run the tests with pytest
|
|
run: make ci
|
|
env:
|
|
NEON_API_KEY: ${{ secrets.NEON_API_KEY }}
|