From baf5e5b5ca5fdb5cc8ecfa8edcda328bdfdb476b Mon Sep 17 00:00:00 2001 From: Sander Roet Date: Wed, 21 Feb 2024 16:17:49 +0100 Subject: [PATCH] initual guess for github workflow (#115) --- .github/workflows/unit-tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/unit-tests.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 00000000..a781e505 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,27 @@ +name: "Unit tests" +on: + pull_request: + branches: + - main + push: + branches: + - main + tags: + - "[0-9]+.[0-9]+.[0-9]+" + schedule: + # Weekly on saturday 23:59 + - cron: "59 23 * * 6" + +defaults: + runs-on: [self-hosted, linux, x64, gpu] + container: + image: continuumio/miniconda3 + options: --runtime=nvidia --gpus all + +jobs: + test_suite: + steps: + - name: check running dir + run: ls -a . + - name: test-gpu-avail + run: nvidia-smi