Skip to content

disable tests with broken URL; update changelog #77

disable tests with broken URL; update changelog

disable tests with broken URL; update changelog #77

# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: mtdata build test
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
permissions:
contents: read
env:
PYTHONUTF8: "1"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # windows-latest
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools==61.2 flake8 pytest-cov
- name: Install module
run: |
python3 setup.py install
- name: Test with pytest
run: |
python3 -m pytest
- name: Test CLI from other dir
run: |
cd iso-langs
python3 -m mtdata -ri list -id -l eng-kan