feat(system): add button to add unknown part #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: All tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install Node dependencies | |
run: npm install ws | |
- name: Install Clojure Tools | |
uses: DeLaGuardo/setup-clojure@12.5 | |
with: | |
cli: latest | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/deps.edn') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Run tests | |
run: | | |
export PARTS_DB_PATH="$GITHUB_WORKSPACE/db/parts_test.db" | |
clojure -X:test/run | |
env: | |
GITHUB_WORKSPACE: ${{ github.workspace }} |