Fixed the 'no library called "cairo" was found' error #849
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: Django Build and Tests | |
on: | |
push: | |
paths: [ 'esim-cloud-backend/**' ] | |
pull_request: | |
paths: [ 'esim-cloud-backend/**' ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to docker | |
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u ${{ github.repository_owner }} --password-stdin | |
- name: Build Images | |
run: | | |
docker compose -f docker-compose.dev.yml --env-file .env pull --ignore-pull-failures | |
docker compose -f docker-compose.dev.yml --env-file .env build | |
- name: Run Django Test Suite | |
run: | | |
docker compose -f docker-compose.dev.yml run django python manage.py test |