summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-04 21:08:47 +0700
committerhathach <[email protected]>2022-12-04 21:08:47 +0700
commitb37870c964e9fafe8cdd4ff6e48fa072ca59858b (patch)
tree8012783dae62eac0726790798098c84216501c8b /.github/workflows/pre-commit.yml
parentb9314bddc5ca53c277a4472d7d162067c5e28604 (diff)
test exclude-file.txt, add action concurrency
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 7baf66e72..2463903f8 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -17,8 +17,20 @@ jobs:
with:
python-version: '3.x'
+ - name: Setup Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '2.7'
+
- name: Checkout TinyUSB
uses: actions/checkout@v3
- - name: Check Code Spelling
- uses: codespell-project/actions-codespell@master \ No newline at end of file
+ - name: Run codespell
+ uses: codespell-project/actions-codespell@master
+
+ - name: Run Unit Tests
+ run: |
+ # Install Ceedling
+ gem install ceedling
+ cd test
+ ceedling test:all \ No newline at end of file