Skip to content

Commit

Permalink
[ci] Use Github Actions for Windows x86 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Sep 8, 2021
1 parent e519810 commit aa21e70
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
arch:
- x64
- x86
node:
- 8
- 10
Expand All @@ -19,14 +22,22 @@ jobs:
- macOS-latest
- ubuntu-latest
- windows-latest
exclude:
- arch: x86
os: macOS-latest
- arch: x86
os: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
architecture: ${{ matrix.arch }}
- run: npm install
- run: npm run lint
if: matrix.node == 16 && matrix.os == 'ubuntu-latest'
if:
matrix.os == 'ubuntu-latest' && matrix.node == 16 && matrix.arch ==
'x64'
- run: npm test
- run:
echo ::set-output name=job_id::$(node -e
Expand All @@ -36,8 +47,8 @@ jobs:
- uses: coverallsapp/github-action@v1.1.2
with:
flag-name:
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }}
on ${{ matrix.os }})
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }} -
$ {{ matrix.arch }} on ${{ matrix.os }})
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
coverage:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Version npm](https://img.shields.io/npm/v/ws.svg?logo=npm)](https://www.npmjs.com/package/ws)
[![Build](https://img.shields.io/github/workflow/status/websockets/ws/CI/master?label=build&logo=github)](https://github.com/websockets/ws/actions?query=workflow%3ACI+branch%3Amaster)
[![Windows x86 Build](https://img.shields.io/appveyor/ci/lpinca/ws/master.svg?logo=appveyor)](https://ci.appveyor.com/project/lpinca/ws)
[![Coverage Status](https://img.shields.io/coveralls/websockets/ws/master.svg?logo=coveralls)](https://coveralls.io/github/websockets/ws)

ws is a simple to use, blazing fast, and thoroughly tested WebSocket client and
Expand Down
19 changes: 0 additions & 19 deletions appveyor.yml

This file was deleted.

0 comments on commit aa21e70

Please sign in to comment.