Skip to content

Commit 2502c41

Browse files
committed
Update GitHub Actions Slack
1 parent d1c6dba commit 2502c41

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020

2121
build-tests:
22-
name: Install Dependency & Tests
22+
name: Build and tests
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v3
@@ -57,7 +57,7 @@ jobs:
5757
5858
- name: Run tests
5959
id: Build-tests
60-
run: poetry run pytest -sv ./tests1
60+
run: poetry run pytest -sv ./tests
6161

6262
- name: Archive code coverage results
6363
uses: actions/upload-artifact@v3
@@ -108,6 +108,7 @@ jobs:
108108
# labels: ${{ steps.meta.outputs.labels }}
109109

110110
- name: Post to a Slack channel
111+
if: failure()
111112
uses: act10ns/slack@v1
112113
with:
113114
status: ${{ job.status }}

0 commit comments

Comments
 (0)