Skip to content

skip test

skip test #124

Workflow file for this run

on: [push, pull_request]
name: Run tests
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
env:
RUN_TESTS: 'false' # Set this to 'true' to run the tests, or 'false' to skip them
if: ${{ env.RUN_TESTS != 'false' }} # This condition will skip the job if RUN_TESTS is set to 'false'

Check failure on line 12 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / Run tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yaml (Line: 12, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUN_TESTS != 'false'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install packages
run: |
sudo apt-get update
sudo apt-get -y install python3-pip jshon jq virtualenv pkg-config openssl libssl-dev autoconf libtool libsecp256k1-dev
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
- name: Run tests
run: ./test.sh