Skip to content

Commit

Permalink
Pipline improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
braddle committed Oct 14, 2024
1 parent 85140ab commit 837ceb2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Golang

on:
pull_request:
push:
paths:
- .github/workflows/go.yml
- go/**

defaults:
run:
Expand All @@ -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
name: Run mutation testing tool
8 changes: 5 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Python

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- .github/workflows/python.yml
- python/**

defaults:
run:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: TypeScript

on:
pull_request:
push:
paths:
- .github/workflows/typescript.yml
- typescript/**

defaults:
run:
Expand Down

0 comments on commit 837ceb2

Please sign in to comment.