update explore behaviour (and scan local) for jump-gate exploration #244
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: PyTest | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
environment: | |
name: test environment | |
url: none | |
env: | |
SECRET: ${{ secrets.SECRET_NAME}} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
# Runs a single command using the runners shell | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.10.13 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r requirements.txt | |
- name: Install hex helper | |
run: | | |
wget https://github.com/Ctri-The-Third/ServiceHelpers/releases/download/v2.4.0/hex_helpers-2.4.0-py3-none-any.whl -O hex_helpers-latest-py3-none-any.whl | |
pip install ./hex_helpers-latest-py3-none-any.whl | |
# Runs a set of commands using the runners shell | |
- name: Test with pytest | |
run: pytest -vv |