Bump actions/setup-python from 5 to 6 #104
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '.github/**' | |
- '.idea/**' | |
- '.run/**' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- '.idea/**' | |
- '.run/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v6 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' # caching pip dependencies | |
- name: Build & Install & Test | |
run: | | |
python3 --version | |
pip install coverage pylint pytest setuptools | |
python3 -m compileall -f pydbzengine | |
pip install .[dev,dlt,iceberg] | |
python3 -m coverage report -m ./pydbzengine/*.py | |
python3 -m coverage run --source=./tests/ -m unittest discover -s tests/ | |
# python3 -m pylint pydbzengine |