Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: test

on:
push:
branches:
- main
- "test-me-*"

pull_request:


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

package:

runs-on: ubuntu-latest

permissions:
id-token: write
attestations: write

steps:
- uses: actions/checkout@v4
- name: Build and Check Package
uses: hynek/build-and-inspect-python-package@v2.13.0

test:
needs: [package]

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4

- name: Download Package
uses: actions/download-artifact@v4
with:
name: Packages
path: dist

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true

- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox

- name: Test
shell: bash
run: |
tox run -e py --installpkg `find dist/*.tar.gz`
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
name='pytest-services',
description='Services plugin for pytest testing framework',
long_description=long_description,
long_description_content_type="text/x-rst",
author='Anatoly Bubenkov, Paylogic International and others',
license='MIT license',
author_email='bubenkoff@gmail.com',
Expand Down
Loading