Skip to content

add integration tests #11

add integration tests

add integration tests #11

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run unit tests
run: cargo test --verbose
integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: python -m pip install -r tests/requirements-freeze.txt
- name: Run service
run: docker-compose up -d
- name: Run integration tests
run: VMESSY_HOST='127.0.0.1' python3 -m pytest tests