Skip to content

Commit

Permalink
PROCESS: Carbon footprint profiling should be run on push.
Browse files Browse the repository at this point in the history
  • Loading branch information
benel committed Jul 30, 2024
1 parent 05c69cc commit 95944c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
run: |
docker compose --file docker-compose.test.yml pull
docker pull benel/cucumber-capybara
curl https://assets.greenframe.io/install.sh | bash
- name: Install and launch backend with test data
run: |
export COUCHDB_USER="TO_BE_CHANGED"
Expand Down Expand Up @@ -48,3 +49,10 @@ jobs:
run:
docker run --rm -v "$(pwd)":/app --tty --net="host" --env APP_HOST="http://`hostname`" benel/cucumber-capybara --retry 2 --fail-fast --no-source --no-snippets
shell: 'script -q -e -c "bash {0}"'
- name: Measure carbon footprint
run: |
cd requirements
greenframe analyze
env:
GREENFRAME_SECRET_TOKEN: ${{secrets.GREENFRAME_SECRET_TOKEN}}

0 comments on commit 95944c8

Please sign in to comment.