Skip to content

Upgrade SQLAlchemy #137

Upgrade SQLAlchemy

Upgrade SQLAlchemy #137

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
continue-on-error: true
- name: Pull docker images
run: docker compose -f test/docker-compose.yml pull
- name: Build the Docker image
run: docker compose -f test/docker-compose.yml -p brainzutils_test build
- name: Bring up dependencies
run: docker compose -f test/docker-compose.yml -p brainzutils_test up -d redis musicbrainz_db
- name: Run tests
run: docker compose -f test/docker-compose.yml -p brainzutils_test run --rm test
run: docker compose -f test/docker-compose.yml -p brainzutils_test down

Check failure on line 34 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Docker Image CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 34, Col: 7): 'run' is already defined