Skip to content

Commit 273a0c7

Browse files
committed
Fix github action Release workflow
1 parent 3f76940 commit 273a0c7

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ jobs:
3333
pre-commit run -a --show-diff-on-failure
3434
- name: Test with pytest
3535
id: test
36-
env:
37-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/alerta
3836
run: |
39-
pytest --cov=alerta tests/*.py
37+
pytest --cov=alertaclient tests/unit
4038
- uses: act10ns/slack@v2
4139
with:
4240
status: ${{ job.status }}

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ jobs:
4242
flake8 . --count --exit-zero --max-complexity=50 --max-line-length=127 --statistics
4343
- name: Test with pytest
4444
id: unit-test
45-
env:
46-
DATABASE_URL: postgres://postgres:postgres@localhost:5432/alerta
4745
run: |
4846
pytest --cov=alertaclient tests/unit
4947
- name: Integration Test

0 commit comments

Comments
 (0)