Fixed a bug in setting partial #539
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: mepo - unit testing and linting | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10'] | |
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
timeout-minutes: 5 | |
- name: Run mepo unit tests | |
run: python tests/test_mepo_commands.py -v | |
timeout-minutes: 5 | |
- name: Run mepo3 unit tests | |
run: python tests/test_mepo3_commands.py -v | |
timeout-minutes: 5 | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint mepo | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
timeout-minutes: 5 | |
- name: Run pylint on mepo | |
run: pylint --exit-zero src/mepo | |
timeout-minutes: 5 | |
- name: Run pylint on mepo3 | |
run: pylint --exit-zero src/mepo3 | |
timeout-minutes: 5 |