Skip to content

Commit

Permalink
Disable CI cache (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinscott authored Feb 13, 2022
1 parent 849686a commit 17fffd1
Showing 1 changed file with 146 additions and 0 deletions.
146 changes: 146 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,152 @@
name: 'Tests'
on: [push]

jobs:
unit:
name: 'Tests: Unit'
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '14'

# - uses: actions/cache@v2
# with:
# path: '**/node_modules'
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: 'Installing'
run: yarn

- name: 'Unit Tests'
run: yarn test:unit

- name: 'Codecov'
uses: codecov/codecov-action@v1
with:
directory: ./packages/upscalerjs/coverage
verbose: true

integration-browser-browserstack:
name: 'Tests: Integration / Browser / Browserstack'
runs-on: ubuntu-latest
steps:
- name: 'BrowserStack Env Setup' # Invokes the setup-env action
uses: browserstack/github-actions/setup-env@master
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

- name: 'Checkout repository'
uses: actions/checkout@v2

# - uses: actions/cache@v2
# with:
# path: '**/node_modules'
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: 'Installing'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: yarn

- name: 'Integration Tests'
run: yarn test:integration:browserstack --ci
env:
NODE_OPTIONS: --max_old_space_size=8192

integration-browser-local:
name: 'Tests: Integration / Browser / Local'
runs-on: ubuntu-latest
steps:
- name: 'BrowserStack Env Setup' # Invokes the setup-env action
uses: browserstack/github-actions/setup-env@master
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

- name: 'Checkout repository'
uses: actions/checkout@v2

# - uses: actions/cache@v2
# with:
# path: '**/node_modules'
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: 'Installing'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: yarn

- name: 'Integration Tests'
run: yarn test:integration:browser --ci
env:
NODE_OPTIONS: --max_old_space_size=8192


integration-node-local-14:
name: 'Tests: Integration / Node / Local / v14'
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '14'

# - uses: actions/cache@v2
# with:
# path: '**/node_modules'
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: 'Installing'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: yarn

- name: 'Installing Node-specific deps'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: cd test/lib/node && yarn

- name: 'Integration Tests'
run: yarn test:integration:node --ci

integration-node-local-16:
name: 'Tests: Integration / Node / Local / v16'
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16'

# - uses: actions/cache@v2
# with:
# path: '**/node_modules'
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: 'Installing'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: yarn

- name: 'Installing Node-specific deps'
env:
NODE_OPTIONS: --max_old_space_size=8192
run: cd test/lib/node && yarn

- name: 'Integration Tests'
run: yarn test:integration:node --ci

on: [push]

jobs:
unit:
name: 'Tests: Unit'
Expand Down

0 comments on commit 17fffd1

Please sign in to comment.