File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 paths-ignore :
99 - ' README.md'
1010 - ' docs/**'
11-
11+ # todo: 2 jobs (lint / test)
1212jobs :
1313 lint :
1414
Original file line number Diff line number Diff line change 1212permissions :
1313 id-token : write
1414
15+ # todo:
16+ # - remove test/lint (already in feature pipelines)
17+ # - 3jobs: bump/package/publish
18+ # -
19+ # -
1520jobs :
1621 build :
1722 runs-on : ubuntu-latest
@@ -30,18 +35,27 @@ jobs:
3035 python -m pip install --upgrade pip
3136 pip install -r requirements.txt
3237
38+ # lint and unit tests
3339 - name : Run unit tests
3440 run : python -m unittest discover -s tests -p 'test_*.py'
3541
3642 - name : Run Ruff
3743 run : ruff check --output-format=github src
3844
45+
46+ # version increment
47+ - name : Set up Git user for bump2version commit
48+ run : |
49+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
50+ git config --global user.name "github-actions[bot]"
51+
3952 - name : Bump version and push tag
4053 run : |
4154 pip install --upgrade bump2version
4255 bump2version patch --allow-dirty
4356
4457
58+ # build package
4559 - name : Build Python package
4660 run : python setup.py sdist bdist_wheel
4761
You can’t perform that action at this time.
0 commit comments