skip test #124
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
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 GitHub Actions / Run testsInvalid workflow file
|
||
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 |