4th batch adding terms for SbD4Nano #368
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: On push file integrity tests | |
on: | |
pull_request: | |
workflow_run: | |
workflows: ["pages-build-deployment"] #Wait until the latest modules are deployed to the site | |
types: | |
- completed | |
#push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install wheel setuptools pip --upgrade | |
pip install -r scripts/src/tests/on_push_tests/requirements.txt | |
- name: Run tests | |
run: python -m unittest discover scripts/src/tests/on_push_tests/ | |
- name: Create issue about failure | |
if: failure() | |
uses: JasonEtco/create-an-issue@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
filename: .github/action-issue-template.md | |
update_existing: true |