File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 0.9.10-dev
2+ current_version = 0.9.10
33commit = False
44tag = False
55parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
@@ -8,8 +8,8 @@ serialize =
88 {major}.{minor}.{patch}
99
1010[bumpversion:file:aviary/__init__.py]
11- search = __version__ = " {current_version}"
12- replace = __version__ = " {new_version}"
11+ search = __version__ = ' {current_version}'
12+ replace = __version__ = ' {new_version}'
1313
1414[bumpversion:file:.github/ISSUE_TEMPLATE/bug_report.yml]
1515search = placeholder: " {current_version}"
Original file line number Diff line number Diff line change 2121 attributes :
2222 label : Aviary Version
2323 description : What version of Aviary is being used.
24- placeholder : " 0.9.10-dev "
24+ placeholder : " 0.9.10"
2525 validations :
2626 required : true
2727 - type : textarea
Original file line number Diff line number Diff line change 3434 - name : build
3535 run : hatch build
3636
37- - name : Publish package distributions to PyPI
38- uses : pypa/gh-action-pypi-publish@release/v1
37+ - name : Publish package distributions to PyPI (v1.12.4)
38+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
39+
40+ test-pypi-release :
41+ name : Test Aviary PyPI Release
42+ needs : [pypi-publish]
43+ runs-on : ubuntu-latest
44+
45+ steps :
46+ - uses : benc-uk/workflow-dispatch@v1
47+ with :
48+ workflow : Test "no dev" install
49+ repo : ${{ github.repository_owner }}/Aviary
50+ inputs : >
51+ {
52+ "run_name": "Test PyPI install",
53+ "use_pypi": true
54+ }
55+ token : ${{ secrets.ACCESS_TOKEN }}
56+ if : github.event_name == 'release'
Original file line number Diff line number Diff line change 1414 # Allow running the workflow manually from the Actions tab
1515 workflow_dispatch :
1616
17+ inputs :
18+ run_name :
19+ type : string
20+ description : ' Name of workflow run as it will appear under Actions tab:'
21+ required : false
22+ default : " "
23+
24+ use_pypi :
25+ type : boolean
26+ description : ' Run tests against the published PyPI version of Aviary'
27+ required : false
28+ default : false
29+
30+
1731jobs :
1832
1933 test_ubuntu_no_dev_install :
7185 echo "Temporarily install specific versions for now."
7286 pip install "numpy<2"
7387 pip install packaging
74- pip install .[all]
88+ if [[ "${{ inputs.use_pypi }}" == "true" ]]; then
89+ echo "-----------------------------------------------------------"
90+ echo "Installing from PyPI"
91+ echo "-----------------------------------------------------------"
92+ python -m pip install aviary[all]
93+ else
94+ pip install .[all]
95+ fi
7596
7697 - name : Display conda environment info
7798 shell : bash -l {0}
Original file line number Diff line number Diff line change 1- __version__ = '0.9.10-dev '
1+ __version__ = '0.9.10'
You can’t perform that action at this time.
0 commit comments