-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into tgt_type
- Loading branch information
Showing
7 changed files
with
199 additions
and
188 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: flake8 lint | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
flake8-lint: | ||
runs-on: ubuntu-20.04 | ||
name: flake8 lint | ||
steps: | ||
- name: Setup python for flake8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
- uses: actions/checkout@v3 | ||
- name: Install tox | ||
run: python -m pip install tox | ||
- name: Setup flake8 | ||
run: tox --notest -e flake8 | ||
- name: Run flake8 | ||
run: tox -e flake8 |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: test | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
|
||
jobs: | ||
test: | ||
name: test ${{ matrix.py }} - ${{ matrix.netapi }} - ${{ matrix.salt }} | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
py: | ||
- "3.7" | ||
- "3.8" | ||
netapi: | ||
- "cherrypy" | ||
- "tornado" | ||
salt: | ||
- "v3004.2" | ||
- "v3005.1" | ||
- "master" | ||
steps: | ||
- name: Setup python for test ${{ matrix.py }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.py }} | ||
- uses: actions/checkout@v3 | ||
- name: Install setuptools_scm | ||
run: python -m pip install setuptools_scm | ||
- name: Install tox | ||
run: python -m pip install tox | ||
- name: Install dependencies | ||
run: sudo apt update && sudo apt install -y libc6-dev libffi-dev gcc git openssh-server libzmq3-dev | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
- name: Setup tests | ||
run: tox --notest -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }} | ||
- name: Run tests | ||
run: tox -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }} |
Oops, something went wrong.