Compare commits

..

2 Commits

Author SHA1 Message Date
fc5f80232e v4.0.2
=====================================================================

- circleci: more trigger fixes; add python build to python test
2024-02-21 00:05:40 -07:00
695eea2985 v4.0.1
=====================================================================

- circleci: trigger test workflows on tags too
2024-02-20 23:57:43 -07:00

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:
@ -110,24 +111,34 @@ jobs:
workflows: workflows:
python: python:
jobs: jobs:
- python-test - python-test:
filters:
tags:
only: /^v\d+\.\d+\.\d+.*$/
branches:
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: /^.*$/
nodejs: nodejs:
jobs: jobs:
- nodejs-test - nodejs-test:
filters:
tags:
only: /^v.*$/
branches:
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$/