refactor: remove repetitive text and make status message more concise #476
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: Test & Check | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create fake .env file to pass assertions | |
run: | | |
touch .env | |
echo "[email protected]" >> .env | |
echo "EMAIL_PASSWORD=testPassword" >> .env | |
echo "DB_HOST=testDBHost" >> .env | |
echo "DB_NAME=testDBName" >> .env | |
echo "DB_USERNAME=testDBUsername" >> .env | |
echo "DB_PASSWORD=testDBPassword" >> .env | |
echo "DB_PORT=010101" >> .env | |
- name: Build and Test Docker Container | |
run: TEST=true docker compose up --build --exit-code-from node_monitor |