Support generic header spacing #712
Workflow file for this run
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
name: tests | |
on: | |
pull_request: | |
push: | |
branches: main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pdftotext | |
uses: daaku/gh-action-apt-install@v4 | |
with: | |
packages: build-essential libpoppler-cpp-dev pkg-config ocrmypdf | |
- name: Setup Python & Poetry | |
uses: ./.github/actions/setup-python-poetry | |
with: | |
python-version: "3.11" | |
poetry-version: "1.8.3" | |
- name: Install git crypt & run tests | |
uses: Flydiverny/setup-git-crypt@v3 | |
- name: Unlock files | |
continue-on-error: true | |
run: echo "${{ secrets.GIT_CRYPT_KEY }}" | base64 --decode | git-crypt unlock - | |
- name: Run tests | |
run: poetry run task test |