=====================================================================

- circleci: more trigger fixes; add python build to python test
This commit is contained in:
Wryn (yage) Wagner 2024-02-21 00:04:45 -07:00
parent 695eea2985
commit fc5f80232e

View File

@ -30,6 +30,7 @@ jobs:
&& pip install . .[test] \ && pip install . .[test] \
&& pytest \ && pytest \
; ;
- run: python -m build
python-publish: python-publish:
executor: python executor: python
@ -37,7 +38,7 @@ jobs:
steps: steps:
- checkout: - checkout:
path: ~/scwrypts path: ~/scwrypts
- python/dist - run: python -m build
- run: pip install twine && twine upload dist/* - run: pip install twine && twine upload dist/*
nodejs-test: nodejs-test:
@ -113,15 +114,15 @@ workflows:
- python-test: - python-test:
filters: filters:
tags: tags:
only: /^v.*$/ only: /^v\d+\.\d+\.\d+.*$/
branches: branches:
only: /^.*$/ ignore: /^main$/
- python-publish: - python-publish:
requires: [python-test] requires: [python-test]
context: [pypi-yage] context: [pypi-yage]
filters: filters:
tags: tags:
only: /^v.*$/ only: /^v\d+\.\d+\.\d+.*$/
branches: branches:
ignore: /^.*$/ ignore: /^.*$/
@ -132,12 +133,12 @@ workflows:
tags: tags:
only: /^v.*$/ only: /^v.*$/
branches: branches:
only: /^.*$/ ignore: /^main$/
- nodejs-publish: - nodejs-publish:
requires: [nodejs-test] requires: [nodejs-test]
context: [npm-wrynegade] context: [npm-wrynegade]
filters: filters:
tags: tags:
only: /^v.*$/ only: /^v\d+\.\d+\.\d+.*$/
branches: branches:
ignore: /^.*$/ ignore: /^main$/