Skip to content

Commit

Permalink
Simplify testing by switching to dotnet-retest
Browse files Browse the repository at this point in the history
Allows us to drop the script, composite action, grep install, etc.
  • Loading branch information
kzu authored Jul 22, 2024
1 parent 0f7f7f7 commit b5bb972
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 44 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,10 @@ jobs:
- name: 🙏 build
run: dotnet build -m:1 -bl:build.binlog

- name: ⚙ GNU grep
if: matrix.os == 'macOS-latest'
run: |
brew install grep
echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile
- name: 🧪 test
uses: ./.github/workflows/test
run: |
dotnet tool update -g dotnet-retest
dotnet retest -- --no-build
- name: 🐛 logs
uses: actions/upload-artifact@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
run: dotnet build -m:1 -bl:build.binlog

- name: 🧪 test
uses: ./.github/workflows/test
run: |
dotnet tool update -g dotnet-retest
dotnet retest -- --no-build
- name: 🐛 logs
uses: actions/upload-artifact@v3
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/test/action.yml

This file was deleted.

0 comments on commit b5bb972

Please sign in to comment.