Fix tutorial world build and intro

This commit is contained in:
Griatch 2022-02-05 16:05:12 +01:00
parent ca7bee9d99
commit a980ed617d
9 changed files with 57 additions and 50 deletions

View file

@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
python-version: [3.10]
python-version: ['3.10']
steps:
- name: Checkout 0.9.5 branch

View file

@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
python-version: ['3.9', '3.10']
TESTING_DB: ['sqlite3', 'postgresql', 'mysql']
steps:
@ -94,7 +94,7 @@ jobs:
# it's also not critical if pushing to either service fails (happens for PRs since env is not
# available outside of the evennia org)
- name: Send data to Coveralls
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10" }}
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
continue-on-error: true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
@ -103,7 +103,7 @@ jobs:
coveralls
- name: Send data to Codacy
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10" }}
if: ${{ matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' }}
continue-on-error: true
uses: codacy/codacy-coverage-reporter-action@master
with:
@ -113,22 +113,22 @@ jobs:
# docker setup and push
-
name: Set up QEMU
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10"
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10"
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10'
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10" && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push for master
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10" && github.ref == 'refs/heads/master'
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && github.ref == 'refs/heads/master'
id: docker_build_master
uses: docker/build-push-action@v2
with:
@ -136,7 +136,7 @@ jobs:
tags: evennia/evennia:latest
-
name: Build and push for develop
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == "3.10" && github.ref == 'refs/heads/develop'
if: matrix.TESTING_DB == 'sqlite3' && matrix.python-version == '3.10' && github.ref == 'refs/heads/develop'
id: docker_build_develop
uses: docker/build-push-action@v2
with: