split integration tests (#484) #1381
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: [push] | |
jobs: | |
integrationtests: | |
name: integration-s3 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Build go code | |
run: go build | |
- name: Setup environment | |
run: bash -x .github/integration/setup/setup.sh | |
- name: Run tests | |
run: | | |
ls -1 .github/integration/tests/*.sh 2>/dev/null | sort -t/ -k5 -n | while read -r runscript; do | |
echo "Executing setup script $runscript"; | |
bash -x "$runscript"; | |
done |