Files
katrain-qt/.github/workflows/test.yaml
T
2020-06-04 22:29:04 +02:00

39 lines
707 B
YAML

name: test
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip3 install -e .
pip3 install pytest wheel polib
- name: Run tests
run: pytest tests
- name: Run I18N conversion
run: python i18n.py
- name: Build
run: |
python3 setup.py sdist
python3 setup.py bdist_wheel