Nightly Build #102
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: Nightly Build | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "00 00 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout latest tag | |
run: | | |
echo checking out $(git describe --always --tags) | |
git checkout $(git describe --always --tags) | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Remove necessary directories | |
run: | | |
rm -rf PyPDFForm | |
rm -rf pdf_samples | |
- name: Re-checkout latest samples | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
pdf_samples | |
- name: Set up environment | |
run: | | |
python -m pip install --upgrade pip | |
pip install PyPDFForm | |
pip install -r requirements.txt | |
ls | |
- name: Run nightly tests | |
run: | | |
pytest |