9 add pr checks and build images in github actions #5
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: Python | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
working-directory: ./src/dataimport | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
pip install -r requirements.txt | |
- name: Lint Python code | |
working-directory: ./src/dataimport | |
run: | | |
pylint --errors-only ./*.py |