From 9f8a519052c2b5cc00dbb0c71183873fc5f470e4 Mon Sep 17 00:00:00 2001 From: bitromortac Date: Sun, 20 Nov 2022 11:18:02 +0100 Subject: [PATCH] github: add action --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b36857a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +# action.yml +name: Test +on: + push: + branches: + - master + pull_request: + branches: + - master + workflow_dispatch: + +jobs: + itest: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: build docker image + run: docker build -t lnregtest:latest . + - name: run tests + run: docker run -t lnregtest:latest python3 lnregtest.py -h +