Skip to content

Commit

Permalink
Merge pull request #767 from chinapandaman/PPF-766
Browse files Browse the repository at this point in the history
PPF-766: attempt to fix the nightly build ci v2
  • Loading branch information
chinapandaman authored Dec 9, 2024
2 parents 8566082 + 11637a8 commit 694148a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Nightly Build

on:
workflow_dispatch:
schedule:
- cron: "00 00 * * *"

Expand All @@ -10,16 +11,29 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Checkout latest tag
run: |
echo checking out $(git describe --tags)
git checkout $(git describe --tags)
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Set up environment
- 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

0 comments on commit 694148a

Please sign in to comment.