Skip to content

Tests dockerization #198

Tests dockerization

Tests dockerization #198

Workflow file for this run

name: "tests"
on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
jobs:
test:
name: 'Docker Tests'
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker Image
run: docker build -t hardhat-zkit-test-runner .
- name: Run Tests Inside Docker Container
run: docker run --rm hardhat-zkit-test-runner
- name: Cleanup Docker resources
run: |
docker rmi hardhat-zkit-test-runner --force
docker buildx prune -a -f
docker system prune -a -f --volumes