github-actions

Github Actions – Retrieving Dependencies from Cache

Github Actions – Retrieving Dependencies from Cache Question: I have set up a Github Action to launch a python project in my own repo. The project needs external libraries and it executes efficiently if, in every run, I install them. I tried however to cache them after the installation and to retrieve them from the …

Total answers: 2

Is it possible to build an ARM64 linux wheel on Github?

Is it possible to build an ARM64 linux wheel on Github? Question: Currently I use cibuildwheel for building a c extension on Github. cibuildwheel supports ARM64 for Windows (experimental) and Mac. It seems to support also ARM64 linux, with the name aarch64 (that is the "canonical" name of ARM64). AArch64 linux needs QEMU. The problem …

Total answers: 1

How can I make sure that my github action workflow is working as intended?

How can I make sure that my github action workflow is working as intended? Question: I have a simple python script which classifies balls according to their type. The script is working as intended on my local machine. How can I make sure that the git action workflow is running as well? I need to …

Total answers: 1

Getting 422 error while trying to use Coveralls with GitHub actions

Getting 422 error while trying to use Coveralls with GitHub actions Question: I’m trying to set up Coveralls to work with GitHub Actions for a Python project, and although I’ve reviewed the documentation multiple times and followed all the instructions to the best of my understanding, I’m still facing the following error: Bad Response 422 …

Total answers: 1

Github Actions don't reuse cache

Github Actions don't reuse cache Question: I have a pretty simple step for CI on Github Actions, which is supposed to cache Python dependencies, so it would save a lot of computing time. some-step: name: ‘Test step’ runs-on: ubuntu-latest steps: – uses: actions/checkout@v3 – run: pipx install poetry – name: Set up Python 3.8 uses: …

Total answers: 2

Github Actions: poetry installs black but CI workflow does not find it

Github Actions: poetry installs black but CI workflow does not find it Question: I am setting up a python code quality workflow locally (pre-commit) and on Github Actions (GHA). Environment is managed with poetry. While the local precommit works fine, the remote GHA workflow fails, saying it does not find black, while looking at the …

Total answers: 1

Github Workflow / Action commit to repository returning 403

Github Workflow / Action commit to repository returning 403 Question: I have a Github Workflow file where I bump the version of the python package (setup.py) and afterwards I want to push the changes to the repository the workflow runs in. But I get 403 no access granted back build-package: permissions: contents: read id-token: write …

Total answers: 1

Python FAILED AssertionError with GitHub Actions CI / CD Pipeline with AWS

Python FAILED AssertionError with GitHub Actions CI / CD Pipeline with AWS Question: I am trying to reproduce, step-by-step, the instructions on this video "Cloud Resume Challenge Sprint (Sept, 2022) – Week 4" from youtube, https://youtu.be/wiyI0Ngn31o, on how to setup GitHub Actions with CD/CI pipeline for Backend testing with Python for SAM Deployment in AWS. …

Total answers: 1

botocore.exceptions.NoRegionError: You must specify a region. GitHub Actions with CI/CD Pipeline with AWS

botocore.exceptions.NoRegionError: You must specify a region. GitHub Actions with CI/CD Pipeline with AWS Question: I am trying to reproduce, step-by-step, the instructions on this video "Cloud Resume Challenge Sprint (Sept, 2022) – Week 4" from youtube, https://youtu.be/wiyI0Ngn31o, on how to setup GitHub Actions with CD/CI pipeline for Backend testing with Python for SAM Deployment in …

Total answers: 1