This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
build(deps): bump golang from 1.21-alpine to 1.22-alpine #454
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: integration tests | |
on: | |
pull_request: | |
paths: | |
- "Dockerfile" | |
- "**.go" | |
- "go.*" | |
- "schemas/**" | |
jobs: | |
integrationtests: | |
name: integration-${{ matrix.storagetype }} | |
runs-on: ubuntu-latest | |
env: | |
STORAGETYPE: ${{ matrix.storagetype }} | |
strategy: | |
matrix: | |
storagetype: [s3, posix, s3notls] | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Run setup scripts | |
run: 'set -e; | |
ls -1 .github/integration/setup/{common,${{ matrix.storagetype }}}/*.sh 2>/dev/null | sort -t/ -k5 -n | while read -r runscript; do | |
echo "Executing setup script $runscript"; | |
bash -x "$runscript"; | |
done' | |
- name: Run tests | |
run: | |
'ls -1 .github/integration/tests/{common,${{ matrix.storagetype }}}/*.sh 2>/dev/null | sort -t/ -k5 -n | while read -r runscript; do | |
echo "Executing test script $runscript"; | |
export STORAGETYPE=${{ matrix.storagetype }}; | |
bash -x "$runscript"; | |
done' |