Skip to content

[DO NOT MERGE] Test mock odoo module #23

[DO NOT MERGE] Test mock odoo module

[DO NOT MERGE] Test mock odoo module #23

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
jobs:
# TODO
# pre-commit:
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: "3.11"
# - uses: pre-commit/[email protected]
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- PYTHON_VERSION: "3.9"
os: ubuntu-latest
- PYTHON_VERSION: "3.10"
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{matrix.PYTHON_VERSION}}
- name: Configure TOX
run: |
pip install pip --upgrade
pip install tox codecov tox-gh-actions wheel
- name: Generate Report
run: |
tox run
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required