Skip to content

Commit

Permalink
stupd-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Sep 21, 2023
1 parent c6c2500 commit 7f4be4c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 35 deletions.
63 changes: 29 additions & 34 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,46 +20,41 @@ jobs:
#
###################################################

- name: (PREPARE) Checkout Repository
uses: actions/checkout@v3
with:
lfs: true

- name: (PREPARE) Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

- name: (PREPARE) Install Node Modules
run: yarn --frozen-lockfile

- name: (PREPARE) vCAN
run: |
sudo apt-get install -y can-utils
sudo apt-get install -y libnode-dev
sudo apt-get install linux-modules-extra-$(uname -r)
sudo modprobe can | true
sudo modprobe can_raw | true
sudo modprobe vcan | true
sudo ip link add vcan0 type vcan
sudo ip link set vcan0
- name: (PREPARE) Checkout Repository
uses: actions/checkout@v3
with:
lfs: true

- name: (PREPARE) Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

- name: (PREPARE) Install Node Modules
run: yarn --frozen-lockfile

- name: (PREPARE) vCAN
run: |
sudo apt-get install -y can-utils libnode-dev linux-modules-extra-$(uname -r)
sudo modprobe can
sudo modprobe can_raw
sudo modprobe vcan
###################################################
#
# Test
#
###################################################
- name: (TEST) Check Dependencies
run: yarn dependencies:check
- name: (TEST) Check Dependencies
run: yarn dependencies:check

- name: (TEST) Check ESLint
run: yarn lint:check
- name: (TEST) Check ESLint
run: yarn lint:check

- name: (TEST) Check Prettier
run: yarn style:check
- name: (TEST) Check Prettier
run: yarn style:check

- name: (TEST) Run Tests
run: yarn test
- name: (TEST) Run Tests
run: yarn test
2 changes: 1 addition & 1 deletion tests/can/can.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as utils from '#utils'
import {expect} from 'chai'
import {afterEach} from 'mocha'

describe.skip('can', () => {
describe('can', () => {
const vcan = 'can2x'

beforeEach(async () => {
Expand Down

0 comments on commit 7f4be4c

Please sign in to comment.