Skip to content

Bump mkdocs from 1.3.1 to 1.5.1 #185

Bump mkdocs from 1.3.1 to 1.5.1

Bump mkdocs from 1.3.1 to 1.5.1 #185

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v1.1.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache
uses: actions/cache@v1.1.2
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: test
run: ./gradlew clean shadowJar test jacocoTestReport
working-directory: ./kotlin/local-data-api/
- name: integration test
run: |
./scripts/integration-test.sh
- name: setup python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install -r requirements-docs.txt
- name: build document
run: |
cp README.md docs/index.md
mkdocs build --verbose --clean --strict
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.2.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./kotlin/local-data-api/build/reports/jacoco/test/jacocoTestReport.xml
flags: unittests
fail_ci_if_error: true
verbose: true