mirror of
https://github.com/versity/versitygw.git
synced 2026-02-07 02:40:42 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
934 B
YAML
38 lines
934 B
YAML
name: azurite functional tests
|
|
permissions: {}
|
|
on: pull_request
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 'stable'
|
|
id: go
|
|
|
|
- name: Set up Docker Compose
|
|
run: |
|
|
docker compose -f tests/docker-compose.yml --env-file .env.dev --project-directory . up -d azurite azuritegw
|
|
|
|
- name: Wait for Azurite to be ready
|
|
run: sleep 40
|
|
|
|
- name: Get Dependencies
|
|
run: |
|
|
go mod download
|
|
|
|
- name: Build and Run
|
|
run: |
|
|
make
|
|
./versitygw test -a user -s pass -e http://127.0.0.1:7070 full-flow --azure
|
|
|
|
- name: Shut down services
|
|
run: |
|
|
docker compose -f tests/docker-compose.yml --env-file .env.dev --project-directory . down azurite azuritegw
|