Sha256: ffa246cc27de048187835e2812513902e8bdb9d6c4f9110492743fd99ebcba1e

Contents?: true

Size: 1.08 KB

Versions: 11

Compression:

Stored size: 1.08 KB

Contents

name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  workflow_dispatch:

jobs:
  test:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1

    - name: Install dependencies
      run: bundle install

    - name: Run rubocop
      run: rubocop

    - name: Get recent configs
      run: bundle exec rake get_latest_configs[testnet]

    - name: Set up cardano-wallet and cardano-node
      run: |
        echo "Wallet: $WALLET"
        echo "Node: $NODE"
        NODE_CONFIG_PATH=`pwd`/configs docker-compose up --detach
        docker run --rm inputoutput/cardano-wallet:$WALLET version
        docker run --rm inputoutput/cardano-node:$NODE version
        ls ~/node-db-nightly-docker

    - name: Run all tests except nighlty
      run: rake spec

    - name: Stop docker-compose
      run: NODE_CONFIG_PATH=`pwd`/configs docker-compose down
    env:
      CI: true
      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
      NETWORK: testnet
      WALLET: dev-master-shelley
      NODE: 1.25.1

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cardano_wallet-0.3.14 .github/workflows/tests.yml
cardano_wallet-0.3.12 .github/workflows/tests.yml
cardano_wallet-0.3.11 .github/workflows/tests.yml
cardano_wallet-0.3.10 .github/workflows/tests.yml
cardano_wallet-0.3.9 .github/workflows/tests.yml
cardano_wallet-0.3.8 .github/workflows/tests.yml
cardano_wallet-0.3.7 .github/workflows/tests.yml
cardano_wallet-0.3.6 .github/workflows/tests.yml
cardano_wallet-0.3.5 .github/workflows/tests.yml
cardano_wallet-0.3.4 .github/workflows/tests.yml
cardano_wallet-0.3.3 .github/workflows/tests.yml