Built-in Tests for Push (open source solvers in latest Ubuntu) #3951
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: Built-in Tests for Push (Xpress in Ubuntu 18.04) | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Decrypt | |
env: | |
TRANSCRYPT_PASSWORD: ${{ secrets.TRANSCRYPT_PASSWORD }} | |
run: ./.github/scripts/decrypt.sh | |
- name: Make keys.py | |
env: | |
NREL_DEV_API_KEY: ${{ secrets.NREL_DEV_API_KEY }} | |
run: ./.github/scripts/make_keys.py.sh | |
- name: Build containers | |
run: docker-compose --file docker-compose.xpress.yml up -d | |
- name: Check running containers | |
run: docker ps -a | |
- name: Check celery logs | |
run: docker logs celery | |
- name: Check django logs | |
run: docker logs django | |
- name: test | |
run: docker exec celery python manage.py test -v 2 --failfast --no-input |