Allow overriding default database connection string with DATABASE_URL… #5
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: "CI" | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "main" | |
jobs: | |
test: | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: "actions/checkout@v2" | |
- name: "Install CI dependencies" | |
run: | | |
./run ci:install-deps | |
- name: "Test" | |
run: | | |
# Remove volumes in CI to avoid permission errors due to UID / GID. | |
sed -i "s|.:/app|/tmp:/tmp|g" .env* | |
sed -i "s|.:/app|/tmp:/tmp|g" compose.yml | |
./run ci:test |