Skip to content

Commit

Permalink
ci: run a local compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 24, 2023
1 parent f6e37de commit 3433cb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ jobs:
- run: npm test
working-directory: 'backend'
- run: npm ci --legacy-peer-deps # TODO: remove --legacy-peer-deps after updating dependencies
- run: docker-compose up -d compiler
- run: perl -i -pe 's/https:\/\/compiler\.aepps\.com/http:\/\/localhost:3078/g' src/lib/networksRegistry.js
- run: npm test
- uses: stefanzweifel/git-auto-commit-action@v4
if: failure()
with:
commit_message: "fixme: update e2e screenshots"
file_pattern: 'tests/e2e/*.png'
- run: docker-compose logs
if: always()
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ services:
image: aepp-base-backend
build: backend
ports: ["3079:80"]
compiler:
image: aeternity/aesophia_http:v6.1.0
hostname: compiler
ports: ["3078:3080"]

0 comments on commit 3433cb1

Please sign in to comment.