Skip to content

Merge pull request #2 from StandaloneDynamics/build-config #7

Merge pull request #2 from StandaloneDynamics/build-config

Merge pull request #2 from StandaloneDynamics/build-config #7

Workflow file for this run

name: SqlConsole
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8","3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-tests.txt ]; then pip install -r requirements-tests.txt; fi
- name: Run Tests
run: |
python runtests.py
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 --ignore=E501 sqlconsole/ tests/ --count --show-source --statistics