Create pt.po #1151
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 tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements-testing.txt | |
- name: Lint with flake8 | |
run: | | |
flake8 . --append-config=.flake8.soft --count --show-source --statistics | |
- name: Lint with flake8 (strict, but non-fatal) | |
run: | | |
flake8 . --count --show-source --statistics --exit-zero | |
- name: Run unit tests | |
run: | | |
python3 -m coverage run --source minigalaxy -m unittest discover -v tests && python3 -m coverage report -m | |