Strip ANSI color codes from output file while keeping console colors #2605
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🧪 Functional Test | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.go' | |
| - '**.mod' | |
| workflow_dispatch: | |
| jobs: | |
| functional: | |
| name: Functional Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.21.x | |
| - name: Check out code | |
| uses: actions/checkout@v3 | |
| - name: Functional Tests | |
| run: | | |
| chmod +x run.sh | |
| bash run.sh ${{ matrix.os }} | |
| working-directory: cmd/functional-test | |
| env: | |
| PDCP_API_KEY: "${{ secrets.PDCP_API_KEY }}" |