-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e53e357
commit 3d9562c
Showing
1 changed file
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
name: tests-RPI | ||
# name: tests-RPI | ||
|
||
on: | ||
push: | ||
branches: [main, develop] | ||
pull_request: | ||
branches: [main, develop] | ||
# on: | ||
# push: | ||
# branches: [main, develop] | ||
# pull_request: | ||
# branches: [main, develop] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [self-hosted] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install package | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -e . --upgrade | ||
# jobs: | ||
# build: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# os: [self-hosted] | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Install package | ||
# run: | | ||
# python -m pip install --upgrade pip | ||
# pip install -e . --upgrade | ||
|
||
pytest: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [self-hosted] | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: pip install -e ".[test]" --upgrade | ||
# pytest: | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# os: [self-hosted] | ||
# needs: build | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Install dependencies | ||
# run: pip install -e ".[test]" --upgrade | ||
|
||
- name: Run unittests | ||
run: coverage run -m pytest tests/ | ||
# - name: Run unittests | ||
# run: coverage run -m pytest tests/ |