Fix conditionals

This commit is contained in:
Griatch 2020-05-17 11:29:01 +02:00
parent 5eb22327fe
commit 51272cb667

View file

@ -23,11 +23,11 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: harmon758/postgresql-action@v1 - uses: harmon758/postgresql-action@v1
if: ${{ matrix.TESTING_DB == 'mysql' }} if: ${{ matrix.TESTING_DB == 'postgresql' }}
with: with:
postgresql version: '10.7' postgresql version: '10.7'
- uses: mirromutth/mysql-action@v1.1 - uses: mirromutth/mysql-action@v1.1
if: ${{ matrix.TESTING_DB == 'postgresql'}} if: ${{ matrix.TESTING_DB == 'mysql'}}
with: with:
mysql version: '8.0' mysql version: '8.0'
mysql root password: 'root' mysql root password: 'root'
@ -44,7 +44,7 @@ jobs:
run: docker ps -a run: docker ps -a
- name: Setup PostgreSQL database - name: Setup PostgreSQL database
if: ${{ matrix.TESTING_DB == 'postgresql' }} if: ${{ matrix.TESTING_DB == 'postgresql' }}
run: | run: |
psql --version psql --version
psql -U postgres -c "CREATE DATABASE evennia;" psql -U postgres -c "CREATE DATABASE evennia;"
@ -72,7 +72,10 @@ jobs:
pip install coveralls pip install coveralls
pip install codacy-coverage pip install codacy-coverage
pip install -e . pip install -e .
pip install -r requirements_extra.txt
- name: Install extra dependencies # Only develop branch right now
if: ${{ github.ref == 'refs/heads/develop' }}
run: pip install -r requirements_extra.txt
- name: Install and initialize evennia - name: Install and initialize evennia
run: | run: |