Skip to content

Commit

Permalink
Add windows tests
Browse files Browse the repository at this point in the history
electron mocha may fail
  • Loading branch information
zekrom-vale committed Apr 6, 2024
1 parent e898bce commit 142b7be
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/buildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
branches: [ "master" ]
jobs:
test:
name: Test on node ${{ matrix.node_version }}, R ${{ matrix.R }}, and ${{ matrix.os }}
name: Node ${{ matrix.node_version }}, R ${{ matrix.R }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['18.x', '20.x']
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
R: ['4.1.3', '4.2.3', '4.3.3']

steps:
Expand All @@ -29,18 +29,13 @@ jobs:
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: shiny
- name: Find R
run: |
which R
whereis R
continue-on-error: true
- name: Setup wine
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
- if: matrix.os == 'ubuntu-latest'
run: |
sudo apt install wine
elif [ "$RUNNER_OS" == "macOS" ]; then
- if: matrix.os =='macos-latest'
run: |
brew install wine-stable --cask
fi
- name: Npm install
run: |
npm install -g --save-dev @electron/packager
Expand Down

0 comments on commit 142b7be

Please sign in to comment.