Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPF-768: attempt to fix the nightly build ci v3 #769

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Nightly Build

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

Expand All @@ -11,29 +10,16 @@ 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: 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: |
rm -rf PyPDFForm
python -m pip install --upgrade pip
pip install PyPDFForm
pip install -r requirements.txt
ls
- name: Run nightly tests
run: |
pytest
Loading