diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75cb19e..965d3cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,30 +21,22 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Install Node.js - uses: actions/setup-node@v1 - with: - node-version: 18.19.0 - - name: Install Pnpm uses: pnpm/action-setup@v2.0.1 with: version: 8.11.0 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 18.19.0 + cache: pnpm + - name: Install dependencies run: pnpm install --frozen-lockfile - - run: ./node_modules/.bin/electron-rebuild --version 11.2.1 - - - run: xvfb-run -a npm test + - run: xvfb-run -a pnpm run test if: runner.os == 'Linux' - - run: npm run coverage - if: runner.os != 'Linux' - - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ./out/coverage/lcov.info - if: runner.os != 'Linux' + - run: pnpm run test + if: runner.os == 'macOS' diff --git a/README.md b/README.md index 1b1b8e4..b237959 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Coverage Status](https://coveralls.io/repos/github/robmosca/robotinventor-vscode/badge.svg)](https://coveralls.io/github/robmosca/robotinventor-vscode) - # VScode extension for the Robot inventor set This is my attempt at writing a Microsoft Visual Studio Code extension to @@ -13,11 +11,10 @@ program the LEGO® MINDSTORMS® Robot Inventor set in MicroPython. via Bluetooth and it somehow works but it's unstable and it fails from time to time, still not sure why. - ## How to install -***Before** installing the extension, please read the disclaimer at the end of this -page.* +**\*Before** installing the extension, please read the disclaimer at the end of this +page.\* **Prerequisites** @@ -30,7 +27,7 @@ Also, you need the command line `code` command installed. 1. Clone or download the repository 2. Install the dependencies - + ``` npm install ``` @@ -55,7 +52,6 @@ Also, you need the command line `code` command installed. code --install-extension robotinventor-0.0.1.vsix ``` - ## How to use the extension After installing the extension open the RI5DEV device browser: @@ -91,11 +87,12 @@ Since there is no official documentation for the API, the implementation is base on what I could discover empirically. I also obtained information from the following repositories, based on the LEGO® Education SPIKE™️ Prime Set: + - [gpdaniels/spike-prime](https://github.com/gpdaniels/spike-prime/blob/master/specifications/stm32f413.pdf) - [nutki/spike-tools](https://github.com/nutki/spike-tools) - [sanjayseshan/spikeprime-tools](https://github.com/sanjayseshan/spikeprime-tools) -I based my implementation on the excellent work of David Lechner (for EV3): +I based my implementation on the excellent work of David Lechner (for EV3): [ev3dev/vscode-ev3dev-browser](https://github.com/ev3dev/vscode-ev3dev-browser) @@ -108,4 +105,4 @@ _warranty of any kind, express, implied or otherwise, including without_ _limitation, any warranty of fitness for a particular purpose. In no event shall_ _the author of this software be liable for any direct, special, incidental,_ _indirect or consequential damages of any kind arising out of or in connection_ -_with the possession, use or performance of this software._ \ No newline at end of file +_with the possession, use or performance of this software._