Skip to content

[ci] move unix tests to Github Actions #1034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/high-depends.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: High Dependencies
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

jobs:
locked:
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019]
node-versions: [ '10', '16']

steps:
- name: Checkout
uses: actions/[email protected]

- name: Node ${{matrix.node-versions}}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node-versions}}

- name: Remove Lock File
run: rm yarn.lock

- name: Install Yarn Dependencies
run: yarn install
if: matrix.node-versions != 10

- name: Install Yarn Dependencies Ignore Engines (Node 10)
run: yarn install --ignore-engines
if: matrix.node-versions == 10

- name: Show Installed Versions
run: yarn list --depth=0

- name: Run Tests
run: yarn test
22 changes: 22 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ESLint
on: [push, pull_request]

jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]

- name: Node ${{matrix.node-versions}}
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Yarn Dependencies
run: yarn install

- name: Run ESLint
run: yarn lint
46 changes: 46 additions & 0 deletions .github/workflows/low-depends.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Low Dependencies
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

jobs:
locked:
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019]
node-versions: [ '10', '16']

steps:
- name: Checkout
uses: actions/[email protected]

- name: Node ${{matrix.node-versions}}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node-versions}}

- name: Remove Lock File
run: rm yarn.lock

- name: Force Lowest Dependencies
run: node ./scripts/force-lowest-dependencies

- name: Install Yarn Dependencies
run: yarn install
if: matrix.node-versions != 10

- name: Install Yarn Dependencies Ignore Engines (Node 10)
run: yarn install --ignore-engines
if: matrix.node-versions == 10

- name: Show Installed Versions
run: yarn list --depth=0

- name: Run Tests
run: yarn test
28 changes: 0 additions & 28 deletions .github/workflows/node-windows.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/stable-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Locked Dependencies
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

jobs:
locked:
name: Node ${{ matrix.node-versions }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019]
node-versions: [ '10', '12', '14', '16']

steps:
- name: Checkout
uses: actions/[email protected]

- name: Node ${{matrix.node-versions}}
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node-versions}}

- name: Install Yarn Dependencies
run: yarn install
if: matrix.node-versions != 10

- name: Install Yarn Dependencies Ignore Engines (Node 10)
run: yarn install --ignore-engines
if: matrix.node-versions == 10

- name: Show Installed Versions
run: yarn list --depth=0

- name: Run Tests
run: yarn test
45 changes: 0 additions & 45 deletions .travis.yml

This file was deleted.