Skip to content

est case

est case #2

Workflow file for this run

name: Test
on: ["pull_request"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build container
run:
docker build -t chado .

Check failure on line 13 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Test Running Container
run:
docker run -n chado -it -e INSTALL_YEAST_DATA=1 chado &
while true; do
# Check that it's ready to run
start_count=$(docker logs chado | grep 'database system is ready to accept connections' | wc -l)
if (( start_count > 1 )); then
break
fi
done
# Check that yeast is, in fact loaded.
docker exec -it $(docker ps -q) psql -U postgres -c "select * from organism where common_name = 'yeast' " | grep '1 row'
# Done!
exit 0