-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'abi-types' of github.com:algorand/pyteal into abi-types
- Loading branch information
Showing
27 changed files
with
954 additions
and
268 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: "Build workflow" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build-test: | ||
runs-on: ubuntu-20.04 | ||
container: python:${{ matrix.python }}-slim | ||
strategy: | ||
matrix: | ||
python: ['3.6', '3.7', '3.8', '3.9'] | ||
steps: | ||
- run: python3 --version | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install pip dependencies | ||
run: pip install -r requirements.txt | ||
- name: Build and Test | ||
run: | | ||
pytest | ||
mypy pyteal | ||
python3 -c "import pyteal" scripts/generate_init.py --check | ||
black --check . | ||
upload-to-pypi: | ||
runs-on: ubuntu-20.04 | ||
needs: ['build-test'] | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'master') && startsWith(github.ref, 'refs/tags') }} | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install dependencies | ||
run: pip install wheel | ||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
- name: Release | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.