Skip to content

Commit

Permalink
Make yarn test fire on pull_request and fix snapshot fail on master (
Browse files Browse the repository at this point in the history
…#59)

* test(test.yml): Experiment change workflow job name to see if triggers

* test(test.yml): Arbitraray change to see CI run on push

* test(test.yml): Doing something to break snapshots

* test(test.yml): Wrap [push]

* test(test.yml): Return svg to previous state. Make action run on PR

* test(test.yml): Update failin snapshot

* fix(test.yml): Remove running on push
  • Loading branch information
ChefHutch authored Apr 8, 2021
1 parent f9f5162 commit 7a0e090
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
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: 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/setup-node@v2.1.2
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

0 comments on commit 7a0e090

Please sign in to comment.