From 837ceb2c0cde08c179e976a0f1943d10201d2cce Mon Sep 17 00:00:00 2001 From: Mark Bradley Date: Mon, 14 Oct 2024 14:46:40 +0100 Subject: [PATCH] Pipline improvments --- .github/workflows/go.yml | 23 +++++++++-------------- .github/workflows/python.yml | 8 +++++--- .github/workflows/typescript.yml | 6 +++++- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9d24513..71b52b2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,6 +1,10 @@ +name: Golang + on: - pull_request: push: + paths: + - .github/workflows/go.yml + - go/** defaults: run: @@ -13,21 +17,12 @@ jobs: steps: - uses: actions/checkout@v4 name: Checkout code + - run: go test ./... name: Run tests + - run: go get -t -v github.com/avito-tech/go-mutesting/... name: Install Go MuTesting + - run: go-mutesting ./... - name: Run mutation testing tool -# - name: Setup path -# run: | -# echo "GOPATH=$GITHUB_WORKSPACE/go" >> "$GITHUB_ENV" -# echo "$GITHUB_WORKSPACE/go/bin" >> "$GITHUB_PATH" -# - name: Install go -# with: -# go-version-file: go/go.sum -# uses: actions/setup-go@v5 -# - run: | -# go mod tidy -# go get -t -v github.com/avito-tech/go-mutesting/... -# name: Install dependencies \ No newline at end of file + name: Run mutation testing tool \ No newline at end of file diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3b698b7..fc1f4a6 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,8 +1,10 @@ +name: Python + on: push: - branches: [ main ] - pull_request: - branches: [ main ] + paths: + - .github/workflows/python.yml + - python/** defaults: run: diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index b34b616..9d4d6b0 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -1,6 +1,10 @@ +name: TypeScript + on: - pull_request: push: + paths: + - .github/workflows/typescript.yml + - typescript/** defaults: run: