Skip to content

Commit

Permalink
Merge branch 'unit-testing' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfrantz committed Jul 19, 2024
2 parents a06c884 + d941ca0 commit 621b493
Show file tree
Hide file tree
Showing 12 changed files with 5,029 additions and 188 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/docker-test.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: unit-testing

on:
push:
pull_request:
release:
types: [published]
repository_dispatch:
types: [udf-dispatch]

env:
IMAGE_NAME: force-unit-test

jobs:
testing:
name: Compile in Docker container, and run unit tests
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
- name: Run unit tests
run: docker run --rm -t --user "$(id -u):$(id -g)" $IMAGE_NAME force-unit-testing
Loading

0 comments on commit 621b493

Please sign in to comment.