Checking data on branch workflows #1
Workflow file for this run
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: data checker | |
run-name: Checking data on branch ${{github.ref_name}} | |
on: | |
push: | |
branches: | |
- "!main" | |
- "!production" | |
- "*" | |
permissions: read-all | |
jobs: | |
check-data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: check data | |
run: python src/check_data.py |