Skip to content

Commit

Permalink
chg: [internal] Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubOnderka committed Jan 6, 2024
1 parent 9b8c5e7 commit 9ef6fb9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,16 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run server in background
run: |
misp-modules -l 127.0.0.1 -s &
misp-modules -l 127.0.0.1 -s 2>error.log &
sleep 5
# Check if server is running
- name: Check if server is running
run: |
curl -sS localhost:6666/healthcheck
curl -sS 127.0.0.1:6666/healthcheck
- name: Test with pytest
run: |
pytest tests
- name: Show error log
if: always()
run: |
cat error.log

0 comments on commit 9ef6fb9

Please sign in to comment.