diff --git a/.gitea/workflows/mysql.yml b/.gitea/workflows/mysql.yml new file mode 100644 index 0000000..0a80a91 --- /dev/null +++ b/.gitea/workflows/mysql.yml @@ -0,0 +1,23 @@ +name: test mysql8 +on: + push: + branches: + - main + pull_request: + +jobs: + test: + name: test mysql8 + runs-on: ubuntu-latest + steps: + - run: apt-get install -y default-mysql-client + - run: mysql -h mysql8 -u root -e '\q' + + services: + mysql8: + image: mysql:8.0 + env: + MYSQL_ALLOW_EMPTY_PASSWORD: yes + MYSQL_DATABASE: test_db + ports: + - 3306:3306 \ No newline at end of file