Skip to content

Commit d82a618

Browse files
committed
Try again
1 parent 6b4198a commit d82a618

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/tests.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,31 @@ jobs:
66
deploy:
77
name: Deploy
88
runs-on: ubuntu-latest
9-
env:
10-
RUN_TESTS: 'false' # Set this to 'true' to run the tests, or 'false' to skip them
11-
12-
if: ${{ env.RUN_TESTS != 'false' }} # This condition will skip the job if RUN_TESTS is set to 'false'
139

1410
steps:
11+
- name: Set environment variable
12+
run: echo "RUN_TESTS=false" >> $GITHUB_ENV # Adjust this to 'true' or 'false'
13+
1514
- name: Checkout
15+
if: env.RUN_TESTS != 'false'
1616
uses: actions/checkout@v3
1717
with:
1818
submodules: recursive
1919

2020
- name: setup python
21+
if: env.RUN_TESTS != 'false'
2122
uses: actions/setup-python@v4
2223
with:
2324
python-version: '3.9'
2425

2526
- name: install packages
27+
if: env.RUN_TESTS != 'false'
2628
run: |
2729
sudo apt-get update
2830
sudo apt-get -y install python3-pip jshon jq virtualenv pkg-config openssl libssl-dev autoconf libtool libsecp256k1-dev
2931
pip3 install -r requirements.txt
3032
pip3 install -r requirements-dev.txt
3133
3234
- name: Run tests
35+
if: env.RUN_TESTS != 'false'
3336
run: ./test.sh

0 commit comments

Comments
 (0)