-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (38 loc) · 1.06 KB
/
e2e-tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: e2e hardhat tests
on:
push:
branches:
- master
- develop
pull_request:
workflow_dispatch:
jobs:
run_e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build docker container
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
load: true
tags: onchain-non-merklized-issuer-demo:latest
cache-from: type=gha
cache-to: type=gha
- name: Run container
run: |
docker run -d -p 8080:8080 \
--name onchain-non-merklized-issuer-demo onchain-non-merklized-issuer-demo:latest
- name: Run Newman
run: |
newman run tests/e2e/e2e.postman_collection.json