Skip to content

Commit

Permalink
chore: Enable coverall and remove stub test (#302)
Browse files Browse the repository at this point in the history
* chore: Enable coverall and remove stub test

* chore: Comment coverall

* chore: Uncomment coverall

* chore: Change checkout and setup to v2

* chore: Add cache to actions
  • Loading branch information
fzavalia committed Oct 7, 2021
1 parent e3f2bbd commit 603b5e4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 23 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ jobs:
Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Checkout Code
uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: '14'
cache: 'npm'
- name: Install
run: npm ci
- name: Test
run: npm run test:coverage
if: ${{ always() }}
env:
# Variables required to run tests as they all break
# execution if they are not defined
AWS_ACCESS_KEY: AWS_ACCESS_KEY
AWS_ACCESS_SECRET: AWS_ACCESS_SECRET
AWS_BUCKET_NAME: AWS_BUCKET_NAME
Expand All @@ -29,9 +29,7 @@ jobs:
DEFAULT_ETH_ADDRESS: DEFAULT_ETH_ADDRESS
ANALYTICS_CONNECTION_STRING: ANALYTICS_CONNECTION_STRING
PEER_URL: https://peer.decentraland.zone
# # Not working right now because of the lack of tests
# # Uncomment when more are added
# - name: report coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Report Coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
11 changes: 0 additions & 11 deletions src/DELETE_ME.spec.ts

This file was deleted.

0 comments on commit 603b5e4

Please sign in to comment.