Repository navigation
Library ledger: what left before the ledger existed #472
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: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install dependencies | |
| # The hash-pinned universal lock (src/deps_lock.py --compile): every | |
| # file pip downloads must match a sha256 written in the repo. | |
| run: pip install --require-hashes -r lock/requirements.txt | |
| - name: Compile check | |
| run: python -m compileall -q src tests | |
| - name: Test battery | |
| run: python tests/run_all.py |