Peaq BC Test #2
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
name: Peaq BC Test | |
# This workflow is triggered on dev branch manually or automatically after the Build and Publish workflow is completed | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: [Build and Publish] | |
types: [completed] | |
branches: [dev] | |
jobs: | |
bc-test: | |
# NOTE: Python3 comes preinstalled in ubuntu, so no need to install it | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone peaq-bc-repo | |
uses: GuillaumeFalourd/[email protected] | |
with: | |
depth: 1 | |
branch: main | |
owner: peaqnetwork | |
repository: peaq-bc-test | |
- name: Install dependencies for peaq-bc-test | |
run: | | |
cd peaq-bc-test | |
python3 -m pip install --upgrade pip | |
pip install -r requirements.txt | |
# Use github secrets to pass autotest URI as env variable to run tests | |
- name: Run peaq-bc-test | |
run: | | |
cd peaq-bc-test | |
AUTOTEST_URI="${{ secrets.AUTOTEST_HOST }}" pytest -v --ignore=tests/zenlink_dex_test.py |