2022-09-10 22:50:44 +02:00
|
|
|
name: Run tests
|
|
|
|
|
2022-09-10 22:42:08 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: "Checkout"
|
2023-09-13 01:18:20 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-09-10 22:42:08 +02:00
|
|
|
|
|
|
|
-
|
|
|
|
name: "Set up Docker Buildx"
|
2023-09-22 20:56:18 +02:00
|
|
|
uses: docker/setup-buildx-action@v3
|
2022-09-10 22:42:08 +02:00
|
|
|
|
|
|
|
-
|
|
|
|
name: "Build tests-util image"
|
2023-09-13 00:20:43 +02:00
|
|
|
uses: docker/build-push-action@v5
|
2022-09-10 22:42:08 +02:00
|
|
|
id: build
|
|
|
|
with:
|
|
|
|
context: build/tests-util/
|
2022-09-14 02:14:24 +02:00
|
|
|
cache-from: type=gha,scope=tests
|
|
|
|
cache-to: type=gha,scope=tests,mode=max
|
2022-09-10 22:42:08 +02:00
|
|
|
load: true
|
|
|
|
tags: localhost/tests-util:latest
|
|
|
|
|
|
|
|
-
|
|
|
|
name: "Run tests"
|
|
|
|
run: bin/tests
|