Skip to content
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

Make yarn test fire on pull_request and fix snapshot fail on master #59

Merged
merged 7 commits into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from 6 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
23 changes: 17 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name: Tests
on: push

on: [push, pull_request]

jobs:
build:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 14.x

- name: Install dependencies
run: yarn install

- name: Run Jest tests
run: yarn test
run: yarn test
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ it("renders ConnectModal correctly", () => {
</g>
<defs>
<clippath
id="clip0"
id="clip-trustwallet"
>
<rect
fill="white"
Expand Down