adafruit / actions-ci-circuitpython-libs Goto Github PK
View Code? Open in Web Editor NEWA script that will install all of the common dependencies for testing CircuitPython library builds using Github Actions or Travis CI
License: MIT License
A script that will install all of the common dependencies for testing CircuitPython library builds using Github Actions or Travis CI
License: MIT License
I'm now getting the following error on pre-commit run --all-files
# MISSING COPYRIGHT AND LICENSING INFORMATION
The following files have no copyright and licensing information:
* actions-ci/run_local_actions.sh
For workflows that are calling install.sh
, some are getting 404s:
Err:1 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev-dev amd64 237-3ubuntu10.33
404 Not Found [IP: 52.168.50.79 80]
Tried a restart a few times and still got the 404. Maybe add a:
sudo apt-get update
as first thing here?
actions-ci-circuitpython-libs/install.sh
Line 15 in 9db11f4
I like that this is centralized but would like us to update pylint at some point. How can we do that piecemeal when the install for it is here?
No rush, just something to consider.
I use actions-ci-circuitpython-libs to build udecimal: https://github.com/jepler/Jepler_CircuitPython_udecimal
I have a "local" stanza without a "rev" item, and it works fine in pre-commit. However, it encounters an error during ci:
- repo: local
hooks:
- id: mypy
name: mypy
....
Run python actions-ci/print_precommit_versions.py
python actions-ci/print_precommit_versions.py
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.7/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib
Traceback (most recent call last):
Using the following pre-commit hook versions:
File "/home/runner/work/Jepler_CircuitPython_udecimal/Jepler_CircuitPython_udecimal/actions-ci/print_precommit_versions.py", line 28, in <module>
print(f' * {repo["repo"]} @ {repo["rev"]}')
~~~~^^^^^^^
KeyError: 'rev'
I can add a dummy rev
string but I would prefer to see this fixed in actions-ci-circuitpython-libs.
Looks like this README could be updated, happy to do it myself!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.