Skip to content

build: Bumping version from 1.69.0a8 to 1.69.0a9 #342

build: Bumping version from 1.69.0a8 to 1.69.0a9

build: Bumping version from 1.69.0a8 to 1.69.0a9 #342

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: tests GWA CI/CD
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U poetry
poetry install
- name: Test with pytest
run: poetry run pytest -m "not offci" -m "not webtest" incolume/py/coding_dojo_jedi tests/
linters:
needs: [test]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", '3.13']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip poetry
poetry install
# - name: Check lint by task configuration
# run: |
# poetry run task lint
# continue-on-error: true
# - name: Check lint with flake8
# run: |
# # stop the build if there are Python syntax errors or undefined names
# poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# poetry run flake8 . --count --exit-zero --max-complexity=5 --max-line-length=79 --statistics
# continue-on-error: true
- name: Check lint with Ruff
run: |
poetry run ruff check --fix
continue-on-error: true