Deploy to PyPI only once on tag
@@ -102,17 +102,22 @@ jobs:
script:
- tox -e py37
- allow_failures:
- - stage: SimTests
+ - stage: DeployPyPI
python: 3.7
- env: SIM=ghdl
-
+ if: tag IS present
+ script: skip
deploy:
provider: pypi
user: themperek
password:
secure: "MLCDTXDYX7TKtPDXxUz7hIibXAIHGkz297yVQ7inLToCX/bKAkjdy/uwQZ4W7goRUFKJ6XliqBU8l/tihqPXCPtRaIU4hdLF9LZjR02Z16Ik3vDHBQcX/htfm32WAkFIVdbzBldD0N1NJIPYc83GnwLtgFM2u1fuCffiu2VqkTY="
on:
- tags: true
repo: cocotb/cocotb
distributions: sdist
+
+ allow_failures:
+ - stage: SimTests
+ python: 3.7
+ env: SIM=ghdl
+
+
