kopia lustrzana https://github.com/bugout-dev/dao
Fixed and simplified test action
rodzic
7180c68201
commit
af7eee8744
|
@ -11,19 +11,16 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [3.9]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: "3.9"
|
||||||
- name: Upgrade pip
|
- name: Upgrade pip
|
||||||
run: pip install -U pip
|
run: pip install -U pip
|
||||||
- name: Install dev dependencies
|
- name: Install dev dependencies
|
||||||
run: pip install -e .[dev]
|
run: pip install -e .[dev]
|
||||||
- name: Black syntax check
|
- name: Black syntax check
|
||||||
run: black --check moonworm/
|
run: black --check dao/
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: sh test.sh
|
run: sh test.sh
|
||||||
|
|
Ładowanie…
Reference in New Issue