-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (36 loc) · 1.18 KB
/
ci-pipeline__dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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