Skip to content

Commit

Permalink
Merge branch 'retry_policy' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyndramZM committed Dec 12, 2023
2 parents 9a50c17 + 42c72f8 commit 5d54184
Show file tree
Hide file tree
Showing 6 changed files with 272 additions and 108 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-http-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: BaCa2-broker-http-tests

on:
push:
branches: [ "master", "dev" ]

permissions:
contents: read

jobs:
test-with-pytest:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install pytest and poetry
run: |
python -m pip install --upgrade pip
pip install pytest poetry
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest ./tests/test_http_server.py
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,7 @@ submits/
# Config file for kolejka server

*/kolejka.conf
kolejka.conf
kolejka.conf


/.env
Loading

0 comments on commit 5d54184

Please sign in to comment.