Skip to content

Add example for Authentik to README.md #19

Add example for Authentik to README.md

Add example for Authentik to README.md #19

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches: [ master ]
jobs:
Sqlite:
runs-on: ubuntu-latest
container: kanboard/tests:latest
steps:
- name: Checkout Kanboard repo
uses: actions/checkout@v2
with:
repository: kanboard/kanboard
- name: Checkout Plugin repo
uses: actions/checkout@v2
with:
path: plugins/OAuth2
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Unit tests with Sqlite
run: ./vendor/bin/phpunit -c tests/units.sqlite.xml plugins/OAuth2/Test/
Postgres:
runs-on: ubuntu-latest
container: kanboard/tests:latest
services:
postgres:
image: postgres:9.4
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
steps:
- name: Checkout Kanboard repo
uses: actions/checkout@v2
with:
repository: kanboard/kanboard
- name: Checkout Plugin repo
uses: actions/checkout@v2
with:
path: plugins/OAuth2
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Unit tests with Postgres
run: ./vendor/bin/phpunit -c tests/units.postgres.xml plugins/OAuth2/Test/
env:
DB_HOSTNAME: postgres
DB_PORT: ${{ job.services.postgres.ports[5432] }}
MariaDB:
runs-on: ubuntu-latest
container: kanboard/tests:latest
services:
mariadb:
image: mariadb:latest
env:
MYSQL_ROOT_PASSWORD: secret
ports:
- 3306:3306
steps:
- name: Checkout Kanboard repo
uses: actions/checkout@v2
with:
repository: kanboard/kanboard
- name: Checkout Plugin repo
uses: actions/checkout@v2
with:
path: plugins/OAuth2
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Unit tests with MariaDB
run: ./vendor/bin/phpunit -c tests/units.mysql.xml plugins/OAuth2/Test/
env:
DB_HOSTNAME: mariadb
DB_PASSWORD: secret
DB_PORT: ${{ job.services.mariadb.ports[3306] }}