Commit Graph

131 Commits

Author SHA1 Message Date
Shaun Eccles-Smith 49dc34bd5a
Refactor audio input device selection logic (#897)
* Refactor audio input device selection logic

* add audio input device check in __main__.py and audio.py.
2024-04-07 10:18:28 +10:00
Shaun Eccles-Smith 63fd5e9753 Remove generate release changelog action and update release configuration to use autogenerated release notes 2024-03-17 17:13:24 +11:00
renovate[bot] 5fd6629706
Update softprops/action-gh-release action to v2 2024-03-09 03:20:10 +00:00
Shaun Eccles-Smith 54508d7408 Update schedule in renovate.json 2024-03-04 19:24:32 +11:00
Shaun Eccles-Smith 85def5b55a Update renovate.json with new package rules 2024-03-04 19:20:45 +11:00
Shaun Eccles-Smith b6c76881f3 Update automerge strategy to monthly 2024-03-04 19:13:42 +11:00
Shaun Eccles-Smith 276c9a074e Update frontend package management to use pnpm instead of yarn v1 2024-02-26 12:55:07 +11:00
Shaun Eccles-Smith 3d7141c217 Update sentry version format 2024-02-23 20:30:11 +11:00
Shaun Eccles-Smith 4c63d44997
Merge pull request #790 from shauneccles/build/add_production_env_check
build: Add environment for approval prior to release creation/publishing
2024-02-23 13:51:25 +11:00
Shaun Eccles-Smith e118c4df63 Add environment for approval prior to release creation/publishing 2024-02-23 13:42:56 +11:00
Shaun Eccles-Smith 3a8fdbf98b Update CI/CD workflows to reduce action usage and prevent early sentry notifications 2024-02-23 13:13:26 +11:00
Shaun Eccles-Smith 7c6bde1128 Add frontend directory to build step 2024-02-23 07:39:34 +11:00
Shaun Eccles-Smith 969251651e Update frontend-ci.yml to install NPM packages in the frontend directory 2024-02-22 23:16:55 +11:00
Shaun Eccles-Smith 32add58811 Add frontend-ci to validate frontend changes 2024-02-22 23:07:40 +11:00
Shaun Eccles-Smith 6fcf0f3866 Initial addition of frontend source 2024-02-22 15:11:28 +11:00
Shaun Eccles-Smith 8707fd6800 Remove gha digests from renovate 2024-02-22 13:29:58 +11:00
Shaun Eccles-Smith f866a945cb Fix renovate config 2024-02-22 13:16:36 +11:00
Shaun Eccles-Smith 8a3cff507b Update renovate.json with additional helpers 2024-02-21 14:33:06 +11:00
Shaun Eccles-Smith 6e3718c4d0 Move renovate to .github and enable automerge for minor/patch updates 2024-02-20 07:28:10 +11:00
Shaun Eccles-Smith c502149181
Merge pull request #738 from shauneccles/build/refactor_sentry_and_add_sha
build: refactor sentry init, refactor spec files, wheel workflow, add sha and release to /api/info
2024-02-15 10:33:25 +11:00
Shaun Eccles-Smith 973c15d5d8 fix: update LedFx configuration and backup functionality to respect custom config dirs. Add Docs 2024-02-14 10:51:25 +11:00
Shaun Eccles-Smith 2a3807c481 build: refactor sentry init, refactor spec files, wheel workflow, add sha and release to info.py 2024-02-13 07:48:49 +11:00
Shaun Eccles-Smith 37fa5782ad Add LedFx version retrieval and use it in Sentry release 2024-02-12 17:34:55 +11:00
renovate[bot] 92a3f5ea1f
chore(deps): update actions/checkout action to v4 2024-02-11 02:45:35 +00:00
Shaun Eccles-Smith e637a9ec85 feat: Add Sentry release notification workflow 2024-02-11 13:44:04 +11:00
Shaun Eccles-Smith 6913c246f8 Update build workflows 2024-02-07 11:01:19 +11:00
Shaun Eccles-Smith a1ca83daa3
Update pypi publishing workflow (#679)
* Update publish-release-pypi.yml workflow

* Add portaudio to pypi test runners and remove samplerate dep from main ci

* Place artifacts in dist folder to publish

* Update artifact download step in publish-release-pypi.yml
2024-01-29 20:29:03 +11:00
Shaun Eccles-Smith 259ec5a87f
Unify all CI to a single stepped workflow (#678)
* Unify all CI in a single workflow

* Update cache key in CI workflow

* Update artifact names in CI workflow
2024-01-29 19:07:24 +11:00
Shaun Eccles-Smith 91290fc570
Harden tests and test on M1 runners
* Update ci-build-osx-arm.yml with Python and Poetry setup

* Update cache key to include runner architecture

* Add arch to all cache jobs

* Update samplerate and docs

* Use backoff and retry for call to schema

* Refactor HTTPSession method call in all_effects.py
2024-01-29 18:33:10 +11:00
Shaun Eccles-Smith 6d6767b8c3
Add dynamic effect testing to test suite (#676)
* Add dynamic effect testing to test suite

* Add error handling to test fixtures

* Unify CI log location
2024-01-29 16:54:51 +11:00
Shaun Eccles-Smith cc84b1d139
Initial batch of pytests and CI testing (#665)
* Rudimentary pytests and CI updates to run tests

* Update poetry install command

* Add CI sound system setup

* Add error handling for API requests

* Disable fail-fast for CI workflows

* Refactor tests device refresh rate to use available FPS options - differs across CI runners

* Add LedFx test log artifact upload

* Add if condition for always() in upload-artifact step

* Remove version and smoketests from all CI and add Audio Input in linux CI workflows

* Refactor test runner and test utils

* Update upload-artifact action to v4 and change log file path

* Update debug log file path in CI workflows

* Ignore tests on linux, add -vv to pytest for better logging

* Update typing import in test_utils.py

* Reenable linux tests

* Update tests to minimise test runtime

* Cleanup test_utils

* Use a random port for testing and increase retries and backoff

* Refactor test setup and teardown

Add sleep after test case execution

* Add debug logging for API requests

* Add 50ms delay between requests - try to help with strange CI stuff

* Add a closing flag, which gets cleared if a new effect is applied. Addresses a clear_effect race condition exposed by pytest

* clean up and protect clear_all_effects

* move to handle.cancel() asyncio method

* Update pytest verbosity level in CI workflows and remove intel OS X tests

---------

Co-authored-by: atod <anthony.tod@gmail.com>
2024-01-29 08:35:14 +11:00
Shaun Eccles-Smith 387da71e19 Fix pypi event name from push to release 2024-01-19 16:29:38 +11:00
Shaun Eccles-Smith dea96d1533 Remove unnecessary step and update PyPI API token 2024-01-19 15:55:07 +11:00
Shaun Eccles-Smith 20410e5d99
Merge pull request #629 from LedFx/renovate/actions-setup-python-5.x
Update actions/setup-python action to v5
2024-01-19 15:47:45 +11:00
renovate[bot] 297000d603
Update actions/setup-python action to v5 2024-01-19 04:28:58 +00:00
renovate[bot] 9f17bedea8
Update actions/checkout action to v4 2024-01-19 04:28:54 +00:00
Shaun Eccles-Smith 1fa6e245fb Add prod and dev deps, update spec, update pypi build 2024-01-19 15:19:22 +11:00
renovate[bot] c1e63c6035
Update actions/cache action to v4 2024-01-17 16:18:01 +00:00
Shaun Eccles-Smith 0e315b2cc7 Fix linter error 2023-12-30 17:31:17 +11:00
Shaun Eccles-Smith de0ce9feb0 Cancel duplicate CI jobs 2023-12-30 17:26:08 +11:00
renovate[bot] d2035b1f30
Update github/codeql-action action to v3 2023-12-30 03:20:03 +00:00
spiro-c 789bab6127
Ci update patch 1 (#549)
* Patch1

* Patch2

* Drop smoke test for 3.11

* Check version for all

* Add verbos to smoke test
2023-12-30 11:53:12 +11:00
spiro-c 566de9feba
Ci update patch (#547)
* Remove EOL workflows

* Bump CI versions

* Add Smoketest to regular CI

* Add libsamplerate and use bash for windows smoketest

* Update windows path

* Double backslashes for windows...

* Lets try launching a poetry shell to launch ledfx

* Use powershell to check run output

* Add poetry venv to path

* Last try. I'm tired.

* Ci update  first try

* NewTest

* One more time

* All green :)

* Last test

* Revert "All green :)"

This reverts commit 55838902f0.

* Configure cache

* Update Path for OSX

* xtrace

---------

Co-authored-by: Shaun Eccles-Smith <shauneccles@gmail.com>
2023-12-30 10:19:42 +11:00
Shaun Eccles-Smith b4791f6a77 Add FlyCI OS X (M1) CI 2023-12-30 01:26:13 +11:00
Shaun Eccles-Smith 778f3b6b2d Delete .github/workflows/ci-build-apple-m1.yml
I didn't mean to commit to main whoops
2023-12-29 23:48:16 +11:00
Shaun Eccles-Smith fe030ac5ee Add flyci workflow 2023-12-29 23:19:30 +11:00
mariusCZ 9db04cac14 Bump versions, revert cffi to 1.16 for all platforms. 2023-12-27 19:12:53 +01:00
mariusCZ 296d777d29 Drop 3.8 support, set 1.16 Windows cffi. 2023-12-27 08:50:35 +01:00
mariusCZ 7007ddd1bc Fix duplicates. 2023-12-27 08:29:57 +01:00
atod 878739486b bump python version for new pre-commit dependancy to 3.9 2023-12-13 23:02:02 -05:00