⚡️(significant terms) Try to performance #4
This file contains hidden or 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
| name: Upgrade | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| upgrade: | |
| runs-on: ubuntu-latest | |
| services: | |
| elastic: | |
| image: ghcr.io/openaleph/elasticsearch | |
| ports: | |
| - 9200:9200 | |
| env: | |
| "discovery.type": single-node | |
| "xpack.security.enabled": false | |
| "xpack.security.transport.ssl.enabled": false | |
| "xpack.security.http.ssl.enabled": false | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install baseline version and create indexes | |
| run: | | |
| pip install openaleph-search==5.1.0 | |
| openaleph-search upgrade | |
| - name: Install current version | |
| run: | | |
| pip install poetry | |
| poetry config virtualenvs.create false | |
| poetry install --all-extras | |
| - name: Upgrade indexes | |
| run: openaleph-search upgrade |