Correct label language #179
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: Lint - tekniskback-mp | |
# Run the workflow on every pull-request | |
on: | |
pull_request: | |
jobs: | |
run-linter: | |
name: Run linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout out git repo | |
uses: actions/checkout@v2 | |
- name: Set up Python version | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.7" | |
- name: Install dependencies | |
run: pip install flake8 | |
run-tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out git repo | |
uses: actions/checkout@v2 | |
- name: Set up Python version | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.7" | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run tests | |
run: cd src && python runTests.py --keys='${{ secrets.TEST_SETTINGS }}' |