Skip to content

Commit

Permalink
Remove coverage from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robmosca committed Dec 10, 2023
1 parent 7df5d85 commit 9e7f0c7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 26 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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'
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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**

Expand All @@ -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
```
Expand All @@ -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:
Expand Down Expand Up @@ -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)

Expand All @@ -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._
_with the possession, use or performance of this software._

0 comments on commit 9e7f0c7

Please sign in to comment.