Fix GCP ReadEntryBundle to use configured path #1329
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Go | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.22.x, 1.23.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: go test -v -race ./... | |
test-mysql: | |
env: | |
DB_DATABASE: test_tessera | |
DB_USER: root | |
DB_PASSWORD: root | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Start MySQL | |
run: | | |
sudo /etc/init.d/mysql start | |
mysql -e "CREATE DATABASE IF NOT EXISTS $DB_DATABASE;" -u$DB_USER -p$DB_PASSWORD | |
- name: Test with Go | |
run: go test -v -race ./storage/mysql/... -is_mysql_test_optional=false |