github.com/uuosio/chaintester@v0.0.0-20230731100329-1f6fad7372e5/.github/workflows/pr-any.yml (about)

     1  name: PR
     2  on:
     3    pull_request:
     4    push:
     5      branches: [ main ]
     6  
     7  concurrency:
     8    group: ${{ github.workflow }}-${{ github.ref }}
     9    cancel-in-progress: true
    10  
    11  jobs:
    12    pr:
    13      strategy:
    14        matrix:
    15          python-version: [3.9]
    16          step: ['test']
    17          # step: ['lint', 'test:chain']
    18      name: test chaintester
    19      runs-on: ubuntu-20.04
    20      steps:
    21        - name: Install Go
    22          uses: actions/setup-go@v2
    23          with:
    24            go-version: '1.19'
    25        - name: Set up Python
    26          uses: actions/setup-python@v2
    27          with:
    28            python-version: ${{ matrix.python-version }}
    29        - uses: actions/checkout@v2
    30        - name: Install dependencies
    31          run: |
    32            python3 -m pip install -U pip setuptools
    33            python3 -m pip install pytest
    34            python3 -m pip install gscdk
    35        - name: Install EOS test framework
    36          run: |
    37            python3 -m pip install ipyeos
    38        - name: Run eos-debugger
    39          run: |
    40            PYTHON_SHARED_LIB_PATH=${{ env.pythonLocation }}/lib/libpython3.9.so eosdebugger &
    41        - name: test
    42          run: |
    43            pushd test
    44            ./build.sh
    45            popd
    46            go test -v