-
Notifications
You must be signed in to change notification settings - Fork 11
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
1c6b4bb
commit c043052
Showing
4 changed files
with
107 additions
and
0 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 | ||
|
||
on: [push] | ||
|
||
jobs: | ||
flake8: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Install Pip Dependencies | ||
run: pip install flake8 | ||
|
||
- name: Run Flake8 | ||
run: flake8 epregressions |
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,46 @@ | ||
name: Releases | ||
|
||
on: [push] | ||
|
||
jobs: | ||
release: | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-20.04 | ||
pyinstall_args: "" | ||
wxpython: https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-18.04/wxPython-4.1.0-cp37-cp37m-linux_x86_64.whl | ||
- os: ubuntu-18.04 | ||
pyinstall_args: "" | ||
wxpython: https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-18.04/wxPython-4.1.0-cp37-cp37m-linux_x86_64.whl | ||
- os: macos-10.15 | ||
pyinstall_args: --onefile --windowed | ||
wxpython: wxpython | ||
- os: windows-2019 | ||
pyinstall_args: --windowed | ||
wxpython: wxpython | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Install Pip Dependencies | ||
shell: bash | ||
run: pip install pyinstaller pypubsub ${{ matrix.wxpython }} | ||
|
||
- name: Build | ||
shell: bash | ||
run: pyinstaller ${{ matrix.pyinstall_args }} eplaunch.spec | ||
# pyinstaller wf_tester.spec | ||
|
||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: EPLaunch-${{ matrix.os }} | ||
path: dist/EPLaunch |
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,40 @@ | ||
name: Unit Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
unit_tests: | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-20.04 | ||
python: xvfb-run python3 | ||
pip_arg: "" | ||
nosetests_args: --with-coverage --cover-package epregressions # --cover-html for local html results | ||
- os: macos-10.15 | ||
python: python3 | ||
pip_arg: "" | ||
nosetests_args: "" | ||
#- os: windows-2019 | ||
# python: python | ||
# pip_arg: --user | ||
# nosetests_args: "" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: Install Pip Dependencies | ||
shell: bash | ||
run: pip install ${{ matrix.pip_arg }} -r requirements.txt | ||
- name: Run Tests | ||
shell: bash | ||
run: nosetests | ||
- name: Upload Coverage Results | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: coveralls --service=github |
File renamed without changes.