Skip to content

On push file integrity tests #420

On push file integrity tests

On push file integrity tests #420

Workflow file for this run

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