Skip to content

Merge branch 'release/v3.5.3' #50

Merge branch 'release/v3.5.3'

Merge branch 'release/v3.5.3' #50

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4.2.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pybuilder
- name: Install dependencies (python 3.12)
if: contains( matrix.python-version, 12 )
run: |
pip install setuptools colorama
- name: Test build package
run: |
pyb
- name: Test install package on Linux/macOS
if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
run: |
cd release
cd $(ls -d FoBiS-*)
python setup.py install
- name: Test install package on Windows
if: startsWith(runner.os, 'Windows')
run: |
cd release
cd $(ls -Directory FoBiS-*)
python setup.py install
- name: Test fobis entry point
run: |
python --version
pip list
fobis -v
fobis -h
- name: Test FoBiS.py entry point (Linux/macOS only)
if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
run: |
FoBiS.py -v
FoBiS.py -h