feat: add MinIO configuration #63
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: Run Application | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Activate environment and install dependencies | |
run: | | |
make v | |
source .venv/bin/activate | |
make i | |
- name: Start server in the background | |
run: | | |
cloud_storage_handler & | |
echo $! > server.pid | |
- name: Run tests | |
run: | | |
poetry run pytest tests/test_integration | |
- name: Stop server | |
run: | | |
kill $(cat server.pid) || true | |
... |