changed test execution from Poetry into Pytest #161
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: Run Unit Tests (using Pytest) | |
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pytest__run-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 | |