Bump aiohttp from 3.9.0 to 3.9.1 #1763
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Copyright 2023 Ocean Protocol Foundation | |
## SPDX-License-Identifier: Apache-2.0 | |
## | |
name: Aquarius tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Aquarius | |
uses: actions/checkout@v2 | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- uses: actions/checkout@v2 | |
name: Checkout Barge | |
with: | |
repository: "oceanprotocol/barge" | |
path: 'barge' | |
- name: Run Barge | |
working-directory: ${{ github.workspace }}/barge | |
run: | | |
bash -x start_ocean.sh --no-aquarius --no-dashboard --with-rbac --with-thegraph 2>&1 > start_ocean.log & | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Wait for contracts deployment | |
working-directory: ${{ github.workspace }}/barge | |
run: | | |
for i in $(seq 1 250); do | |
sleep 5 | |
[ -f "$HOME/.ocean/ocean-contracts/artifacts/ready" ] && break | |
done | |
ls -la "$HOME/.ocean/ocean-contracts/artifacts/" | |
- name: Test with pytest | |
run: | | |
coverage run --source aquarius -m pytest | |
coverage report | |
coverage xml | |
- name: Publish code coverage | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: d9a74ea9daf38479941f0f0b7502b0f67578d122cc660a9fca96bc06df5a1d99 | |
dockerbuild: | |
runs-on: ubuntu-latest | |
needs: [build] | |
if: ${{ success() && github.event_name == 'pull_request'}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
run: docker build -t "testimage:latest" . |