Fixed and simplified test action

pull/8/head
Neeraj Kashyap 2021-12-18 08:59:29 -08:00
rodzic 7180c68201
commit af7eee8744
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -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