From 08636dd85adc6adccecd4479416f956575e88939 Mon Sep 17 00:00:00 2001 From: zvecr Date: Thu, 14 Nov 2019 21:14:36 +0000 Subject: [PATCH 1/7] Create GitHub Actions unit test workflow --- .github/workflows/unit_test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/unit_test.yml diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml new file mode 100644 index 000000000000..5d6e5dfebc19 --- /dev/null +++ b/.github/workflows/unit_test.yml @@ -0,0 +1,26 @@ +name: Unit Tests + +on: + push: + branches: + - master + - future + pull_request: + paths: + - 'quantum/**' + - 'tmk_core/**' + - 'tests/**' + - '*.mk' + - 'Makefile' + - '.github/workflows/unit_test.yml' + +jobs: + build: + runs-on: ubuntu-latest + + container: qmkfm/base_container + + steps: + - uses: actions/checkout@v1 + - name: Run tests + run: make test:all From d8a7a7fc8d6f660708e237daa33ce60652a4007e Mon Sep 17 00:00:00 2001 From: zvecr Date: Thu, 14 Nov 2019 21:25:23 +0000 Subject: [PATCH 2/7] Create GitHub Actions unit test workflow - checkout submodules --- .github/workflows/unit_test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 5d6e5dfebc19..fd614ed7bf07 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -22,5 +22,7 @@ jobs: steps: - uses: actions/checkout@v1 + with: + submodules: recursive - name: Run tests run: make test:all From 92bcf58f8e0f47fb8baa318502ffccf6ae6f3cfb Mon Sep 17 00:00:00 2001 From: zvecr Date: Sat, 16 Nov 2019 22:36:31 +0000 Subject: [PATCH 3/7] Create GitHub Actions unit test workflow - update job name --- .github/workflows/unit_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index fd614ed7bf07..5c39091b6c6a 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -15,7 +15,7 @@ on: - '.github/workflows/unit_test.yml' jobs: - build: + test: runs-on: ubuntu-latest container: qmkfm/base_container From dc73d9318c4bacb9f026bce05837fcd8bf6f3bd1 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 20 Nov 2021 08:49:49 +1100 Subject: [PATCH 4/7] Develop branch. --- .github/workflows/cli.yml | 2 +- .github/workflows/unit_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 7a8dc8540fa6..c8d7440938ae 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - future + - develop pull_request: paths: - 'lib/python/**' diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 5c39091b6c6a..1e267bca97d4 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - future + - develop pull_request: paths: - 'quantum/**' From 37bc648f89d89d870cfda13266a10872b27ce6ff Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 20 Nov 2021 08:58:56 +1100 Subject: [PATCH 5/7] Update .github/workflows/unit_test.yml Co-authored-by: Joel Challis --- .github/workflows/unit_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 1e267bca97d4..4c4a760e3751 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -21,7 +21,7 @@ jobs: container: qmkfm/base_container steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: submodules: recursive - name: Run tests From f384d72e7d97f50372a6bfe1bcf50823aaeaf345 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 20 Nov 2021 09:01:56 +1100 Subject: [PATCH 6/7] Update .github/workflows/unit_test.yml Co-authored-by: Joel Challis --- .github/workflows/unit_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index 4c4a760e3751..af60d1baa529 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -8,6 +8,7 @@ on: pull_request: paths: - 'quantum/**' + - 'platforms/**' - 'tmk_core/**' - 'tests/**' - '*.mk' From dcdba0c1aeb07af2f6915380188d80d4637ed4ac Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 20 Nov 2021 09:02:43 +1100 Subject: [PATCH 7/7] builddefs --- .github/workflows/unit_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index af60d1baa529..26bcb2f51106 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -7,6 +7,7 @@ on: - develop pull_request: paths: + - 'builddefs/**' - 'quantum/**' - 'platforms/**' - 'tmk_core/**'