Skip to content

Commit 4a72a63

Browse files
committed
Added tests workflow
1 parent b061a5f commit 4a72a63

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Test and deploy
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
tags:
9+
- *
10+
11+
jobs:
12+
run_tests:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: run_tests
16+
run: >
17+
docker compose -f docker-compose-tests.yaml up --force-recreate --no-deps --wait -d &&
18+
sudo docker exec -w /app/ -it `docker ps | grep python | awk '{print $1;}'` python3 -m pytest -v -s test_mysql_ch_replicator.py

0 commit comments

Comments
 (0)