Skip to content

Commit

Permalink
Merge pull request #2146 from valory-xyz/fix/add-import-check
Browse files Browse the repository at this point in the history
Add import check
  • Loading branch information
angrybayblade authored Jan 23, 2024
2 parents b8b57f5 + 0d27462 commit 1dac3a6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ jobs:
ptime pipenv run pip install -e .[all]
ptime pipenv lock
install_check:
continue-on-error: False
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: ["3.10.9"]
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Check clean installation
run: |
pip install .[all] --no-cache
autonomy --help
copyright_doc_and_dependencies_check:
continue-on-error: False
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -171,6 +189,7 @@ jobs:
continue-on-error: True
needs:
- lock_check
- install_check
- copyright_doc_and_dependencies_check
- linter_checks
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -358,6 +377,7 @@ jobs:
continue-on-error: True
needs:
- lock_check
- install_check
- copyright_doc_and_dependencies_check
- linter_checks
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
sudo apt-get autoremove
sudo apt-get autoclean
python -m pip install --upgrade pip
pip install open-autonomy[all] 'aiohttp<4.0.0,>=3.8.5' --no-cache
pip install open-autonomy[all] --no-cache
- name: Push Packages
run: |
Expand Down

0 comments on commit 1dac3a6

Please sign in to comment.