-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Howitz
committed
Mar 10, 2022
1 parent
24075de
commit 6960f2a
Showing
5 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,6 @@ jobs: | |
run: | | ||
pip install -U pip | ||
pip install -U setuptools wheel twine cffi | ||
pip install -U coveralls coverage | ||
- name: Build zope.security | ||
run: | | ||
|
@@ -152,7 +151,6 @@ jobs: | |
python setup.py build_ext -i | ||
python setup.py bdist_wheel | ||
# Also install it, so that we get dependencies in the (pip) cache. | ||
pip install -U coverage | ||
pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"' | ||
pip install .[test] | ||
|
@@ -169,7 +167,11 @@ jobs: | |
# We cannot 'uses: pypa/[email protected]' because | ||
# that's apparently a container action, and those don't run on | ||
# the Mac. | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac') && !startsWith(matrix.python-version, 'pypy') | ||
if: > | ||
github.event_name == 'push' | ||
&& startsWith(github.ref, 'refs/tags') | ||
&& startsWith(runner.os, 'Mac') | ||
&& !startsWith(matrix.python-version, 'pypy') | ||
env: | ||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | ||
run: | | ||
|
@@ -234,7 +236,7 @@ jobs: | |
- name: Install zope.security | ||
run: | | ||
pip install -U wheel setuptools | ||
pip install -U coverage coverage-python-version | ||
pip install -U coverage | ||
pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"' | ||
# Unzip into src/ so that testrunner can find the .so files | ||
# when we ask it to load tests from that directory. This | ||
|
@@ -444,7 +446,9 @@ jobs: | |
run: sudo chown -R $(whoami) ${{ steps.pip-cache.outputs.dir }} | ||
- name: Publish package to PyPI | ||
uses: pypa/[email protected] | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
if: > | ||
github.event_name == 'push' | ||
&& startsWith(github.ref, 'refs/tags') | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TWINE_PASSWORD }} | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- | ||
Generated from: | ||
https://github.com/zopefoundation/meta/tree/master/config/c-code | ||
--> | ||
# Contributing to zopefoundation projects | ||
|
||
The projects under the zopefoundation GitHub organization are open source and | ||
welcome contributions in different forms: | ||
|
||
* bug reports | ||
* code improvements and bug fixes | ||
* documentation improvements | ||
* pull request reviews | ||
|
||
For any changes in the repository besides trivial typo fixes you are required | ||
to sign the contributor agreement. See | ||
https://www.zope.dev/developer/becoming-a-committer.html for details. | ||
|
||
Please visit our [Developer | ||
Guidelines](https://www.zope.dev/developer/guidelines.html) if you'd like to | ||
contribute code changes and our [guidelines for reporting | ||
bugs](https://www.zope.dev/developer/reporting-bugs.html) if you want to file a | ||
bug report. |
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