Skip to content

Accept compiler options when building app #208

Accept compiler options when building app

Accept compiler options when building app #208

Workflow file for this run

name: Vessel Tests
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
unit-test:
runs-on: ubuntu-latest
container:
image: circleci/clojure:openjdk-11-tools-deps-1.10.1.502
options: -u 1001:115
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache Maven deps
uses: actions/cache@v1
env:
cache-name: maven-deps
with:
path: /__w/vessel/vessel/?/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('deps.edn') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Run unit tests
run: 'make unit-test'
integration-test:
runs-on: ubuntu-latest
container:
image: circleci/clojure:openjdk-11-tools-deps-1.10.1.502
env:
VESSEL_TEST_REGISTRY: registry
options: -u 1001:115
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Cache Maven deps
uses: actions/cache@v1
env:
cache-name: maven-deps
with:
path: /__w/vessel/vessel/?/.m2
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('deps.edn') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Run integration tests
run: 'make integration-test'