Skip to content

Added EOL messaging, removed navigation elements (#1353) #3732

Added EOL messaging, removed navigation elements (#1353)

Added EOL messaging, removed navigation elements (#1353) #3732

Workflow file for this run

name: Build and Test
on:
# Trigger the workflow on push or pull request,
# push only for the main branch
# PR for all branches
push:
branches:
- main
pull_request:
jobs:
build-and-test-docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build documentation
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
sudo snap install yq
cd docs
make html-author-mode
grep -r "page unresolved" target/staging/docs/ && exit 1 || echo 'ok'
build-and-test-core:
name: "Cloudflow Core"
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8', '11', '13' ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache SBT and Coursier cache
uses: coursier/cache-action@v3
- name: Scalafmt check
run: cd core && sbt "scalafmtCheckAll; scalafmtSbtCheck"
- name: build-and-test
env:
SBT_OPTS: -Xms512M -Xmx2048M -Xss2M -XX:MaxMetaspaceSize=1024M
run: ./scripts/build-core.sh +test
build-and-test-sbt-examples:
name: "sbt samples"
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8' ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache SBT and Coursier cache
uses: coursier/cache-action@v3
- name: test-sbt-examples
run: ./scripts/build-sbt-examples.sh test
build-and-test-mvn-examples:
name: "mvn samples"
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8' ]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache SBT and Coursier cache
uses: coursier/cache-action@v3
- name: test-maven-examples
run: ./scripts/build-mvn-examples.sh test
fossa-checks:
name: "FOSSA checks"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: FOSSA policy check
if: ${{ github.event_name != 'pull_request' }}
run: |-
cd core
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/spectrometer/master/install.sh | bash
fossa analyze && fossa test
env:
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}"