-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Michał Bartoszkiewicz <[email protected]> Co-authored-by: Jan Chorowski <[email protected]> Co-authored-by: Xavier Gendre <[email protected]> Co-authored-by: Adrian Kosowski <[email protected]> Co-authored-by: Jakub Kowalski <[email protected]> Co-authored-by: Sergey Kulik <[email protected]> Co-authored-by: Mateusz Lewandowski <[email protected]> Co-authored-by: Mohamed Malhou <[email protected]> Co-authored-by: Krzysztof Nowicki <[email protected]> Co-authored-by: Richard Pelgrim <[email protected]> Co-authored-by: Kamil Piechowiak <[email protected]> Co-authored-by: Paweł Podhajski <[email protected]> Co-authored-by: Olivier Ruas <[email protected]> Co-authored-by: Przemysław Uznański <[email protected]> Co-authored-by: Sebastian Włudzik <[email protected]> GitOrigin-RevId: 8bf711247a07692d3403c797159218d1f5c0aa2d
- Loading branch information
1 parent
1fbd828
commit 29cf81a
Showing
40 changed files
with
556 additions
and
164 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 |
---|---|---|
|
@@ -122,7 +122,7 @@ jobs: | |
with: | ||
name: pathway-arm64 | ||
path: ./target/wheels/ | ||
|
||
- name: Upload artifact | ||
if: ${{ matrix.os == needs.start-runner.outputs.label }} | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -153,13 +153,14 @@ jobs: | |
- name: Install and verify Linux package | ||
run: | | ||
set -ex | ||
ENV_NAME="env_"${{ matrix.python-version }}"" | ||
rm -rf $ENV_NAME | ||
python -m venv ${ENV_NAME} | ||
source ${ENV_NAME}/bin/activate | ||
pip install --prefer-binary ./wheels/pathway-*.whl | ||
pip"${{ matrix.python-version }}" install py | ||
python -m py --confcutdir $ENV_NAME --pyargs pathway | ||
ENV_NAME="testenv_${{ matrix.python-version }}" | ||
rm -rf "${ENV_NAME}" | ||
python -m venv "${ENV_NAME}" | ||
source "${ENV_NAME}/bin/activate" | ||
WHEEL=(public/pathway/target/wheels/pathway-*.whl) | ||
pip install --prefer-binary "${WHEEL}[tests]" | ||
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py | ||
python -m pytest --confcutdir "${ENV_NAME}" --doctest-modules --pyargs pathway | ||
Verify_ARM_ARCH: | ||
needs: | ||
|
@@ -196,18 +197,20 @@ jobs: | |
run: | | ||
set -ex | ||
# Pathway http monitoring set port | ||
ENV_NAME="env_${{ matrix.python-version }}" | ||
rm -rf $ENV_NAME | ||
python"${{ matrix.python-version }}" -m venv ${ENV_NAME} | ||
source ${ENV_NAME}/bin/activate | ||
pip"${{ matrix.python-version }}" install --prefer-binary ./wheels/pathway-*.whl | ||
pip"${{ matrix.python-version }}" install py | ||
python"${{ matrix.python-version }}" -m py --confcutdir $ENV_NAME --pyargs pathway | ||
source .github/workflows/bash_scripts/PATHWAY_MONITORING_HTTP_PORT.sh | ||
ENV_NAME="testenv_${{ matrix.python-version }}" | ||
rm -rf "${ENV_NAME}" | ||
python"${{ matrix.python-version }}" -m venv "${ENV_NAME}" | ||
source "${ENV_NAME}/bin/activate" | ||
WHEEL=(public/pathway/target/wheels/pathway-*.whl) | ||
pip install --prefer-binary "${WHEEL}[tests]" | ||
# --confcutdir anything below to avoid picking REPO_TOP_DIR/conftest.py | ||
python -m pytest --confcutdir "${ENV_NAME}" --doctest-modules --pyargs pathway | ||
env: | ||
MACOSX_DEPLOYMENT_TARGET: "10.15" | ||
DEVELOPER_DIR: /Library/Developer/CommandLineTools | ||
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk | ||
|
||
- name: post cleanup | ||
run: rm -rf ./wheels | ||
|
||
|
@@ -257,7 +260,7 @@ jobs: | |
path: . | ||
|
||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
uses: ncipollo/[email protected] | ||
with: | ||
draft: true | ||
artifacts: "./wheels/*.whl" | ||
|
@@ -270,7 +273,7 @@ jobs: | |
with: | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
packages-dir: './wheels/' | ||
|
||
- name: Publish package to s3 | ||
uses: prewk/s3-cp-action@v2 | ||
with: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
int, | ||
float, | ||
str, | ||
bytes, | ||
bool, | ||
BasePointer, | ||
datetime.datetime, | ||
|
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
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.