Skip to content

Commit

Permalink
Change mysql port and runner environment
Browse files Browse the repository at this point in the history
  • Loading branch information
zero1ne committed Nov 9, 2023
1 parent 4caf3ae commit 0ef1578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/qsi-unit-tests.yml
Expand Up @@ -16,22 +16,22 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: [ self-hosted, querypie ]
services:
mysql:
image: mysql:8.0.27
image: mysql:latest
env:
MYSQL_USER: root
MYSQL_PASSWORD: root
MYSQL_ROOT_PASSWORD: root
ports:
- 3306
- 33066:3306

steps:
- uses: actions/checkout@v2

- name: Setup MySQL
run: sudo /etc/init.d/mysql start
run: docker run --name mysql --detach --env MYSQL_ROOT_PASSWORD=root --publish 33066:3306 mysql

- name: Setup DynamoDB
run: docker-compose -f "./Qsi.Tests/Vendor/PrimarSql/docker-compose.yml" up -d
Expand Down
2 changes: 1 addition & 1 deletion Qsi.Tests/Vendor/MySql/MySqlTest.cs
Expand Up @@ -15,7 +15,7 @@

namespace Qsi.Tests.Vendor.MySql;

[TestFixture("server=localhost;port=3306;user id=root;password=root;pooling=False;allowuservariables=True", Category = "MySql")]
[TestFixture("server=localhost;port=33066;user id=root;password=root;pooling=False;allowuservariables=True", Category = "MySql")]
public partial class MySqlTest : VendorTestBase
{
public MySqlTest(string connectionString) : base(connectionString)
Expand Down

0 comments on commit 0ef1578

Please sign in to comment.