From 1bea7e3ab7a39de036fef3d79c88e433f16db79a Mon Sep 17 00:00:00 2001 From: Bryce W <58643544+02bwilson@users.noreply.github.com> Date: Sun, 16 Jul 2023 07:45:09 -0400 Subject: [PATCH 1/3] Create python-app.yml --- .github/workflows/python-app.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..56d2346 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,32 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Oscilloground + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pyinstaller pyqt6 pyqtdarktheme scipy + - name: Create Executable + run: | + pyinstaller --one-file --no-console ./Oscilloground.py From d5b310d60c0bb7bcc09f0784beff5492803a0b77 Mon Sep 17 00:00:00 2001 From: Bryce W <58643544+02bwilson@users.noreply.github.com> Date: Sun, 16 Jul 2023 07:46:47 -0400 Subject: [PATCH 2/3] Update python-app.yml --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 56d2346..e25dfbc 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -29,4 +29,4 @@ jobs: pip install pyinstaller pyqt6 pyqtdarktheme scipy - name: Create Executable run: | - pyinstaller --one-file --no-console ./Oscilloground.py + pyinstaller --one-file --no-console ./Oscilloground.py From 9483aaafd5c832e9b829ed7099be7949f6ff06f6 Mon Sep 17 00:00:00 2001 From: Bryce W <58643544+02bwilson@users.noreply.github.com> Date: Sun, 16 Jul 2023 07:50:44 -0400 Subject: [PATCH 3/3] Update python-app.yml --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index e25dfbc..94d068a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -29,4 +29,4 @@ jobs: pip install pyinstaller pyqt6 pyqtdarktheme scipy - name: Create Executable run: | - pyinstaller --one-file --no-console ./Oscilloground.py + pyinstaller --onefile --noconsole ./Oscilloground.py