Skip to content

Commit

Permalink
chore: comment out gasCompare but add as pending to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanelly95 committed Oct 3, 2023
1 parent 884e56f commit 2b6bf2e
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,45 @@ jobs:
node-version: 16
sarif: results.sarif
fail-on: high

# WIP can safely be ignored
# gasCompare:
# runs-on: ubuntu-latest
# needs: install_dependencies
# steps:
# - uses: bissolli/gh-action-persist-workspace@v1
# with:
# action: retrieve
# - name: Run GasCompare
# run: |
# if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
# BRANCH_NAME=$GITHUB_HEAD_REF
# else
# BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//-/g')
# fi
# echo "Current branch is $BRANCH_NAME"
# if [ "$BRANCH_NAME" == "master" ]; then
# echo "This is the master branch. Exiting..."
# exit 0
# fi
# CI=true npm run test
# mv ./gasReporterOutput.json /tmp/gasReporterOutput_Current.json
# git checkout master
# npm install
# CI=true npm run test
# mv ./gasReporterOutput.json /tmp/gasReporterOutput_Master.json

# - uses: bissolli/gh-action-persist-workspace@v1
# with:
# action: persist

# - name: Checkout
# uses: actions/checkout@v3

# - uses: bissolli/gh-action-persist-workspace@v1
# with:
# action: retrieve

# - name: Run GasCompare
# run: |
# npm run gasCompare /tmp/gasReporterOutput_Current.json /tmp/gasReporterOutput_Master.json

0 comments on commit 2b6bf2e

Please sign in to comment.