-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
fd7c7a3
commit 673ef90
Showing
4 changed files
with
57 additions
and
0 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,54 @@ | ||
name: Build wheels test | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
generate_backwards_compatibility_data: | ||
name: Generate Backwards Compatibility Data | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# Based on https://github.com/TileDB-Inc/conda-forge-nightly-controller/blob/51519a0f8340b32cf737fcb59b76c6a91c42dc47/.github/workflows/activity.yml#L19C10-L19C10 | ||
- name: Setup git | ||
run: | | ||
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.9" | ||
|
||
- name: Print Python version | ||
run: | | ||
which python | ||
which pip | ||
python --version | ||
- name: Build Indexes | ||
run: | | ||
# Get the release tag. | ||
release_tag=$(git describe --tags --abbrev=0) | ||
echo $release_tag | ||
# Install dependencies. | ||
cd apis/python && pip install . && cd ../.. | ||
# Generate data. | ||
python backwards-compatibility-data/generate_data.py $release_tag | ||
# Push this data to a new branch and create PR from it.. | ||
git fetch | ||
branch_name="update-backwards-compatibility-data-${release_tag}" | ||
echo $branch_name | ||
git checkout -b "$branch_name" | ||
git add backwards-compatibility-data/data/ | ||
git commit -m "[automated] Update backwards-compatibility-data for release $release_tag" | ||
git push origin "$branch_name" | ||
gh pr create --base main --head "$branch_name" --title "[automated] Update backwards-compatibility-data for release $release_tag" --body "This PR was created in a Github Actions job during the release process." |
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
jobs: | ||
run-tests: | ||
if: ${{ false }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
jobs: | ||
run-tests: | ||
if: ${{ false }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
quarto-render-and-deploy: | ||
if: ${{ false }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|