Skip to content

Merge pull request #30 from makerdao/TECH-3246-resources-optimisation #139

Merge pull request #30 from makerdao/TECH-3246-resources-optimisation

Merge pull request #30 from makerdao/TECH-3246-resources-optimisation #139

Workflow file for this run

on: [push, pull_request]
name: Run tests
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Set environment variable
run: echo "RUN_TESTS=false" >> $GITHUB_ENV # Adjust this to 'true' or 'false'
- name: Checkout
if: env.RUN_TESTS != 'false'
uses: actions/checkout@v3
with:
submodules: recursive
- name: setup python
if: env.RUN_TESTS != 'false'
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: install packages
if: env.RUN_TESTS != 'false'
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
if: env.RUN_TESTS != 'false'
run: ./test.sh