diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4d20f72 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: ci +on: [push] +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.9"] + mysql-version: ["8.0-debian"] + vtiger-version: ["8.2.0"] + services: + mysql: + image: mysql:${{ matrix.mysql-version }} + vtiger: + image: vtigercrm/vtigercrm-${{ matrix.vtiger-version }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - run: pip install -r requirements.txt + - run: python -m unittest + env: + VTIGER_HOST: http://vtiger + VTIGER_USER: admin + VTIGER_PASS: admin