From a22a0aa4ae76c53f7cb38fe1f5701c02f7a88990 Mon Sep 17 00:00:00 2001 From: keshav Date: Wed, 26 Jun 2024 10:25:57 -0700 Subject: [PATCH] Workflow fixed to install python --- .github/workflows/test.yml | 6 ++++++ test/ExponentialPremiumPriceOracle/decayedPremium.t.sol | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index afff27fb..7c63a45a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,12 @@ jobs: with: submodules: recursive + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-verison: '3.8' + + - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: diff --git a/test/ExponentialPremiumPriceOracle/decayedPremium.t.sol b/test/ExponentialPremiumPriceOracle/decayedPremium.t.sol index 52284101..30ab066c 100644 --- a/test/ExponentialPremiumPriceOracle/decayedPremium.t.sol +++ b/test/ExponentialPremiumPriceOracle/decayedPremium.t.sol @@ -26,4 +26,5 @@ contract DecayedPremium is ExponentialPremiumOracleBase { uint256 actualPremium = oracle.decayedPremium(elapsed); assertEq(actualPremium, expectedPremium); } + }