From 817ab1d3b7c7ad8bcb7e283e0f0cd8518a7f0c82 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Thu, 5 Sep 2024 12:54:56 +0200 Subject: [PATCH 1/2] Add workflow for running tests --- .github/workflows/tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f99edd0 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: Run Tests + +on: + push: + paths: + - 'example/*' + pull_request: + paths: + - 'example/*' + +jobs: + test: + name: Run Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run Tests + run: make test From 32ef265b20929ee4424c64f75085dbc67bd29649 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Thu, 5 Sep 2024 12:55:38 +0200 Subject: [PATCH 2/2] Update tests.yml --- .github/workflows/tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f99edd0..dfb007b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,11 +2,9 @@ name: Run Tests on: push: - paths: - - 'example/*' pull_request: - paths: - - 'example/*' + branches: + - main jobs: test: