Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
29 changes: 23 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,41 @@ name: Pull Request CI

on:
pull_request:
branches: [ "main" ]
branches: develop

jobs:
test_oslg:
runs-on: ubuntu-22.04
test_oslg_ubuntu_latest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.x"]

steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Run unit tests
run: python -m unittest

test_oslg_ubuntu_2204:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.2, 3.5, 3.10]
python-version: ["3.10", "3.x"]

steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Run unit tests
run: python -m unittest discover -s ./tests
run: python -m unittest
29 changes: 0 additions & 29 deletions .github/workflows/python-package.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ __pycache__/
# C extensions
*.so

.DS_Store

# Distribution / packaging
.Python
build/
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.2",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
Expand Down