Fixed: .__hash__() implementation of HashableOrderedDict class. #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish pyjpt to PyPI | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
type: string | |
required: true | |
description: 'Version triple, such as x.y.z' | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
# ---------------------------------------------------------------------------------------------------------------------- | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
# ---------------------------------------------------------------------------------------------------------------------- | |
concurrency: | |
group: 'jpt-testing-and-deployment' | |
cancel-in-progress: true | |
# ---------------------------------------------------------------------------------------------------------------------- | |
jobs: | |
build-and-test: | |
name: '[${{ inputs.version || github.ref_name }}] Run the test suite on the latest checkout' | |
uses: 'joint-probability-trees/jpt-dev/.github/workflows/reusable-test-and-build.yml@main' | |
with: | |
version: "${{ inputs.version || github.ref_name }}" | |
python-versions: "cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311" | |
# -------------------------------------------------------------------------------------------------------------------- | |
publish: | |
name: '[${{ inputs.version || github.ref_name }}] Publish the distribution on PyPI' | |
uses: 'joint-probability-trees/jpt-dev/.github/workflows/reusable-publish-package.yml@main' | |
needs: build-and-test | |
secrets: inherit | |
with: | |
version: "${{ inputs.version || github.ref_name }}" |