use compose file approach #3
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: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, reopened, synchronize, labeled] | |
push: | |
branches: | |
- main | |
- test/ci-with-minio | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ['3.11'] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Standup MongoDB, MinIO and Arraylake API | |
run: | | |
docker compose up -d minio | |
docker compose exec -T minio mc alias set minio http://minio:9000 minio123 minio123 | |
- name: Use Python ${{ matrix.python-version }} | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} |