Skip to content

Detect and report errors reading mergeable sources #218

Detect and report errors reading mergeable sources

Detect and report errors reading mergeable sources #218

Workflow file for this run

name: Vessel Tests
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
unit-test:
runs-on: ubuntu-latest
container:
image: cimg/clojure:1.11.1
options: -u 1001:115
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache Maven deps
uses: actions/cache@v4
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: cimg/clojure:1.11.1
env:
VESSEL_TEST_REGISTRY: registry
options: -u 1001:115
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache Maven deps
uses: actions/cache@v4
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'