Skip to content

Added tests workflow #1

Added tests workflow

Added tests workflow #1

Workflow file for this run

name: Test and deploy
on:
pull_request:
push:
branches:
- master
tags:
- *

Check failure on line 9 in .github/workflows/tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 9
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- name: run_tests
run: >
docker compose -f docker-compose-tests.yaml up --force-recreate --no-deps --wait -d &&
sudo docker exec -w /app/ -it `docker ps | grep python | awk '{print $1;}'` python3 -m pytest -v -s test_mysql_ch_replicator.py