Skip to content

Merge pull request #48 from shazow/provider-agnostic #85

Merge pull request #48 from shazow/provider-agnostic

Merge pull request #48 from shazow/provider-agnostic #85

Workflow file for this run

name: "Run Tests"
on: [push, pull_request, workflow_dispatch]
jobs:
check:
name: "Project Tests"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Cache
uses: actions/cache@v3
with:
key: api-result-cache
path: ./.cache
- name: Run tests
run: nix develop -c sh -c "make test"
env:
ONLINE: 1
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}