diff --git a/.github/workflows/build-wheels-test.yml b/.github/workflows/build-wheels-test.yml new file mode 100644 index 000000000..af7ad469b --- /dev/null +++ b/.github/workflows/build-wheels-test.yml @@ -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 "runneradmin@users.noreply.github.com" + + - 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." diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index e66d35aea..a55371611 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -8,6 +8,7 @@ on: jobs: run-tests: + if: ${{ false }} strategy: matrix: os: [ubuntu-latest] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d413ff42c..3a90449cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: jobs: run-tests: + if: ${{ false }} strategy: matrix: os: [ubuntu-latest] diff --git a/.github/workflows/quarto-render.yml b/.github/workflows/quarto-render.yml index df7a2e405..62d7dea19 100644 --- a/.github/workflows/quarto-render.yml +++ b/.github/workflows/quarto-render.yml @@ -7,6 +7,7 @@ on: jobs: quarto-render-and-deploy: + if: ${{ false }} strategy: matrix: os: [ubuntu-latest]