mirror of
https://github.com/versity/versitygw.git
synced 2026-07-02 16:54:25 +00:00
04bb314817
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [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/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' 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@v7
|
|
|
|
- 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
|