Skip to content

Cleanups

Cleanups #647

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
chains_matrix:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
chain: ['optimism', 'base', 'mode', 'bob']
experimental: [false]
include:
- chain: 'mode'
experimental: true
- chain: 'bob'
experimental: true
steps:
- uses: actions/checkout@master
- name: Builds the Docker image
run: docker build ./ -t velodrome/sugar
- name: Runs code QA and tests
run: docker run --rm --env-file=env.{{ matrix.chain }} -v $(pwd):/app -w /app -t velodrome/sugar sh -c 'flake8 && brownie test --network={{ matrix.chain }}-main'