Repository navigation
feat(plugins): add NkAntony777/scansci-pdf academic paper retrieval plugin #6
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: ScanSci PDF engine checks | |
| on: | |
| pull_request: | |
| paths: | |
| - 'plugins/NkAntony777/scansci-pdf/**' | |
| - '.github/workflows/scansci-pdf.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| engine: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python: ['3.11', '3.13'] | |
| include: | |
| - os: ubuntu-latest | |
| # The real binary, not the /usr/bin/google-chrome symlink: the | |
| # provenance gate refuses symlinks by design. | |
| browser: /opt/google/chrome/chrome | |
| - os: windows-latest | |
| browser: 'C:\Program Files\Google\Chrome\Application\chrome.exe' | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b18 | |
| - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Record the exact checked-out revision | |
| run: git rev-parse HEAD | |
| - run: python -m pip install --require-hashes -r plugins/NkAntony777/scansci-pdf/vendor/scansci-pdf/requirements-browser.lock | |
| - run: python -m pip install pytest cryptography | |
| - name: Verify the delivered source manifest and dependency locks | |
| run: python plugins/NkAntony777/scansci-pdf/vendor/scansci-pdf/run_secure.py --verify | |
| - name: Run engine regressions including a real approved browser round trip | |
| env: | |
| SCANSCI_AUDIT_BROWSER: ${{ matrix.browser }} | |
| run: python -m pytest plugins/NkAntony777/scansci-pdf/vendor/scansci-pdf/tests -q -rs | |
| - run: python plugins/NkAntony777/scansci-pdf/vendor/scansci-pdf/scripts/check_mcp_package.py plugins/NkAntony777/scansci-pdf/vendor/scansci-pdf/run_secure.py |