Skip to content

docs: replace gitter links with discord (#11) #5

docs: replace gitter links with discord (#11)

docs: replace gitter links with discord (#11) #5

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
test-and-coverage:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
ports:
- 3306:3306
env:
MYSQL_USER: casbin_test
MYSQL_PASSWORD: TEST_casbin
MYSQL_ROOT_PASSWORD: TEST_casbin
MYSQL_DATABASE: casbin
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
run: mvn clean test jacoco:report
- name: Upload To Codecov
uses: codecov/codecov-action@v1