summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
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