Another test with db actions
This commit is contained in:
parent
1da71593e6
commit
f8ce8f5476
1 changed files with 10 additions and 10 deletions
16
.github/workflows/pythonpackage.yml
vendored
16
.github/workflows/pythonpackage.yml
vendored
|
|
@ -19,10 +19,6 @@ jobs:
|
||||||
TESTING_DB: [sqlite3, postgresql, mysql]
|
TESTING_DB: [sqlite3, postgresql, mysql]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup MySQL
|
|
||||||
uses: mirromutth/mysql-action@1.1
|
|
||||||
- name: Setup PosgrSQL
|
|
||||||
uses: Harmon758/postgresql-action@v1.0.0
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -42,8 +38,6 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install psycopg2-binary
|
pip install psycopg2-binary
|
||||||
pip install mysqlclient
|
pip install mysqlclient
|
||||||
pip install coveralls
|
|
||||||
pip install codacy-coverage
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install -r requirements_extra.txt
|
pip install -r requirements_extra.txt
|
||||||
- name: Set up evennia
|
- name: Set up evennia
|
||||||
|
|
@ -59,8 +53,14 @@ jobs:
|
||||||
coveralls:
|
coveralls:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: upload to coveralls
|
- uses: actions/checkout@v2
|
||||||
|
- name: install coveralls
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install coveralls
|
||||||
|
pip install codacy-coverage
|
||||||
|
- name: run and upload to coveralls
|
||||||
run: |
|
run: |
|
||||||
coveralls
|
coveralls
|
||||||
coverage xml
|
coverage xml
|
||||||
python-codacy-coveraage -r coverage.xml
|
python-codacy-coverage -r coverage.xml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue