Sha256: 91ce7504e4b4a03e16ad354b5070e37a159c02c9dece63304163582ded216c87

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 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 cli 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
      NODE: alonzo-purple-1.0.1

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cardano_wallet-0.3.21 .github/workflows/tests.yml
cardano_wallet-0.3.20 .github/workflows/tests.yml
cardano_wallet-0.3.19 .github/workflows/tests.yml
cardano_wallet-0.3.18 .github/workflows/tests.yml
cardano_wallet-0.3.17 .github/workflows/tests.yml
cardano_wallet-0.3.16 .github/workflows/tests.yml
cardano_wallet-0.3.15 .github/workflows/tests.yml