This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
fix ds.Metadata.StreamURL [nt] #468
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
jobs: | |
test: | |
if: "! (contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[no test]') || contains(github.event.head_commit.message, '[nt]'))" | |
runs-on: [self-hosted, linux] | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Dump context | |
env: | |
JOB_CONTEXT: ${{ toJson(job) }} | |
MATRIX_CONTEXT: ${{ toJson(matrix) }} | |
RUNNER_CONTEXT: ${{ toJson(runner) }} | |
run: | | |
echo "JOB_CONTEXT -> $JOB_CONTEXT" | |
echo "MATRIX_CONTEXT -> $MATRIX_CONTEXT" | |
echo "RUNNER_CONTEXT -> $RUNNER_CONTEXT" | |
- name: Set up GoLang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Configure Environment | |
uses: flarco/envkey-action@main | |
with: | |
envkey: ${{ secrets.ENVKEY }} | |
dotenv_sh: true | |
- name: Test | |
run: | | |
sed -i "s/DEBUG='TRUE'/DEBUG=''/g" .env.sh | |
docker run --rm -v /__/docker-data/devbox/root/go:/root/go -v /__:/__ -v /tmp:/tmp -v $PWD:/work --workdir /work flarco/devbox:base bash -c "source .env.sh && go mod edit -dropreplace='github.com/flarco/g' go.mod && go mod tidy && bash scripts/test.sh" | |