Skip to content

Commit

Permalink
add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilm committed Jun 27, 2024
1 parent 8c08e63 commit a3a08b8
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 214 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/buildandrun-docker.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/buildandrun.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/docker-hang-debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: stuff
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: JarvusInnovations/background-action@v1
with:
run: docker compose up mysql mysql_replica &
wait-on: |
tcp:localhost:8033
tcp:localhost:8133
working-directory: compose/replication
log-output-if: true

- uses: JarvusInnovations/background-action@v1
with:
run: mysqladmin -h127.0.0.1 --port 8033 -uroot -pmsandbox -i1 processlist status &
wait-on: |
tcp:localhost:8033
tcp:localhost:8133
log-output-if: true

- run: while true; do MYSQL_DSN='tsandbox:msandbox@tcp(127.0.0.1:8033)/test' REPLICA_DSN='rsandbox:rsandbox@tcp(127.0.0.1:8133)/' go test -race -v -count=1 ./...; done
shell: bash
29 changes: 0 additions & 29 deletions .github/workflows/linter.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/mysql8-docker.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/mysql8.0.28-docker.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/mysql8.0.28.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/mysql8.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/mysql84-docker.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/mysql84.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/mysql8_rbr_minimal-docker.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/mysql8_rbr_minimal.yml

This file was deleted.

0 comments on commit a3a08b8

Please sign in to comment.