skipping tests that fail in python < 3.10 #110
This file contains 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 : CI Pipeline - DEV | |
on: | |
push: | |
branches: | |
- dev | |
env: | |
GIT__BRANCH : 'dev' | |
PACKAGE_NAME : 'osbot_utils' | |
RELEASE_TYPE : 'minor' | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ 3.8.18, 3.9.19, 3.10.14, 3.11.9, 3.12.3 , ] | |
# [3.7.17, 3.13.0-beta.1 ] # poetry doesn't support: 3.7.17, and was hanging on the installation of 3.13.0-beta.1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Poetry - Install Dependencies | |
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/poetry__install@dev | |
with: | |
pip_install: '-r requirements-test.txt' | |
python-version: ${{ matrix.python-version }} | |
- name: Run Unit Tests (using Poetry) | |
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/poetry__run-unit-tests@dev | |
increment-tag: | |
name: Increment Tag - DEV | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Increment Tag (for DEV) | |
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__increment-tag@dev | |
with: | |
release_type: ${{env.RELEASE_TYPE}} | |
needs: | |
- run-unit-tests | |