Skip to content

Commit

Permalink
Run tests with GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
amh-mw committed Nov 19, 2024
1 parent 20490ee commit 8a64552
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 }}
ports:
- "80:80"
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://localhost
VTIGER_USER: admin
VTIGER_PASS: admin

0 comments on commit 8a64552

Please sign in to comment.