Skip to content

Commit 621b493

Browse files
committed
Merge branch 'unit-testing' into develop
2 parents a06c884 + d941ca0 commit 621b493

File tree

12 files changed

+5029
-188
lines changed

12 files changed

+5029
-188
lines changed

.github/workflows/docker-test.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/unit-testing.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: unit-testing
2+
3+
on:
4+
push:
5+
pull_request:
6+
release:
7+
types: [published]
8+
repository_dispatch:
9+
types: [udf-dispatch]
10+
11+
env:
12+
IMAGE_NAME: force-unit-test
13+
14+
jobs:
15+
testing:
16+
name: Compile in Docker container, and run unit tests
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check out the repo
20+
uses: actions/checkout@v4
21+
- name: Build image
22+
run: docker build . --file Dockerfile --tag $IMAGE_NAME
23+
- name: Run unit tests
24+
run: docker run --rm -t --user "$(id -u):$(id -g)" $IMAGE_NAME force-unit-testing

0 commit comments

Comments
 (0)