Resolve issues with UnicodeEncodeError #16
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: Build and run tests | |
on: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build container | |
run: | | |
mkdir media | |
cp env.dist .env | |
echo STREAMWEBS_TEST=1 >> .env | |
cp streamwebs_frontend/streamwebs_frontend/settings.py.dist streamwebs_frontend/streamwebs_frontend/settings.py | |
docker compose build | |
- name: Start Postgresql | |
run: | | |
docker compose up -d postgres_host | |
- name: Run tests | |
run: | | |
docker compose up web |