remove travis, switch to github actions
This commit is contained in:
8
.github/workflows/test-package.yml
vendored
8
.github/workflows/test-package.yml
vendored
@ -50,6 +50,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
- name: Run sqlite
|
||||||
|
env:
|
||||||
|
DATABASE_URL: "sqlite:///testsuite"
|
||||||
|
run: bash scripts/test.sh
|
||||||
- name: Run mysql
|
- name: Run mysql
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "mysql://username:password@localhost:3306/testsuite"
|
DATABASE_URL: "mysql://username:password@localhost:3306/testsuite"
|
||||||
@ -58,10 +62,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgresql://username:password@localhost:5432/testsuite"
|
DATABASE_URL: "postgresql://username:password@localhost:5432/testsuite"
|
||||||
run: bash scripts/test.sh
|
run: bash scripts/test.sh
|
||||||
- name: Run sqlite
|
|
||||||
env:
|
|
||||||
DATABASE_URL: "sqlite:///testsuite"
|
|
||||||
run: bash scripts/test.sh
|
|
||||||
- run: mypy --config-file mypy.ini ormar tests
|
- run: mypy --config-file mypy.ini ormar tests
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user