[mod] rework container CI/CD #64
Workflow file for this run
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: Checker | |
| # yamllint disable-line rule:truthy | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 4 * * 5" | |
| # TODO: Remove this | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| env: | |
| PYTHON_VERSION: "3.13" | |
| jobs: | |
| checker: | |
| name: Checker | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| # TODO: Check | |
| # - name: Setup system dependencies | |
| # run: | | |
| # apt-get update | |
| # apt-get install -y --no-install-recommends \ | |
| # # lxml | |
| # libxml2-dev \ | |
| # libxslt1-dev \ | |
| # zlib1g-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "${{ env.PYTHON_VERSION }}" | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: "false" | |
| - name: Setup cache Python | |
| uses: actions/cache@v4 | |
| with: | |
| key: "python-${{ env.PYTHON_VERSION }}-${{ hashFiles('./requirements*.txt') }}" | |
| restore-keys: "python-${{ env.PYTHON_VERSION }}-" | |
| path: "./local" | |
| - name: Setup venv | |
| run: make V=1 install | |
| - name: Checker | |
| continue-on-error: true | |
| run: make search.checker |