Skip to content

Run tests in CI

Run tests in CI #2

Workflow file for this run

on:
release:
types: [published]
push:
branches:
- master
pull_request:
permissions:
contents: read
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Test
run: |
bash tests/mitmtest.sh
# - uses: docker/build-push-action@v6
# if: github.event_name != 'pull_request'
# with:
# push: true
# tags: |
# ghcr.io/${{ github.repository }}:${{ github.ref_name }}
# ghcr.io/${{ github.repository }}:latest