Skip to content

On push file integrity tests #116

On push file integrity tests

On push file integrity tests #116

Workflow file for this run

name: On push file integrity tests
on:
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@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3
- name: Install dependencies
run: 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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/action-issue-template.md