Skip to content

Refactor main arguments + other improvements #126

Refactor main arguments + other improvements

Refactor main arguments + other improvements #126

Workflow file for this run

name: tests
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .[test]
sudo apt install -y git
git config --global user.email "[email protected]"
git config --global user.name "oca-port-test"
- name: Run tests
run: coverage run -m pytest -v oca_port/tests && coverage report -m