feat: add optional sidecar files for metadata #8
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: docker bats tests | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Docker Image | |
run: | | |
cp tests/.env.docker.default tests/.env.docker | |
cp tests/.secrets.default tests/.secrets | |
docker build \ | |
--build-arg="GO_LIBRARY=go1.23.1.linux-amd64.tar.gz" \ | |
--build-arg="AWS_CLI=awscli-exe-linux-x86_64.zip" \ | |
--build-arg="MC_FOLDER=linux-amd64" \ | |
--progress=plain \ | |
-f tests/Dockerfile_test_bats \ | |
-t bats_test . | |
- name: Run Docker Container | |
run: | | |
docker compose -f tests/docker-compose-bats.yml --project-directory . \ | |
up --exit-code-from s3api_np_only s3api_np_only |