diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f8b91b31..11705c87d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,11 @@ jobs: - name: Odin run run: ./odin run examples/demo/demo.odin timeout-minutes: 10 + - name: core:image and core:compress tests + run: | + cd tests/core + make + timeout-minutes: 10 build_macOS: runs-on: macos-latest steps: diff --git a/tests/core/Makefile b/tests/core/Makefile new file mode 100644 index 000000000..7124af00b --- /dev/null +++ b/tests/core/Makefile @@ -0,0 +1,15 @@ +ODIN=../../odin +PYTHON=$(shell which python3) + +all: download_test_assets image_test compress_test + +download_test_assets: + $(PYTHON) download_assets.py + +image_test: + $(ODIN) test image/test_core_image.odin + rm test_core_image + +compress_test: + $(ODIN) test compress/test_core_compress.odin + rm test_core_compress diff --git a/tests/core/compress/test_core_compress.odin b/tests/core/compress/test_core_compress.odin index a7fc04e8b..ae0712c7a 100644 --- a/tests/core/compress/test_core_compress.odin +++ b/tests/core/compress/test_core_compress.odin @@ -7,7 +7,7 @@ package test_core_compress List of contributors: Jeroen van Rijn: Initial implementation. - A test suite for ZLIB, GZIP and PNG. + A test suite for ZLIB, GZIP. */ import "core:testing" diff --git a/tests/core/image/test_core_image.odin b/tests/core/image/test_core_image.odin index 981bf4528..381b89eae 100644 --- a/tests/core/image/test_core_image.odin +++ b/tests/core/image/test_core_image.odin @@ -7,7 +7,7 @@ package test_core_image List of contributors: Jeroen van Rijn: Initial implementation. - A test suite for ZLIB, GZIP and PNG. + A test suite for PNG. */ import "core:testing"