Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-piles committed Mar 11, 2024
1 parent af7fb50 commit bf6a8d6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install venv
run: make install_venv

- name: Start service
run: make start > logs.log &
- run: sleep 5 && wget --waitretry=5 --retry-connrefused -v http://localhost:5051/info
- name: Log on failure
if: ${{ failure() }}
run: cat dummy_extractor_services/logs.log

0 comments on commit bf6a8d6

Please sign in to comment.