Category "github-actions"

How to clone public submodule in "Github Actions"

Reason for this Q&A-Style question: It took me a few hours to get this to run because I had some typos and thought the solution is more complicated. If I wo

AttributeError when using Github self-hosted runners to run unit test

Hello~ I am trying to use Github workflow to run the unit test for the code in my repository. So I wrote a yaml file, its function is when I push my code to my

R-CMD-check GitHub Actions workflow failing on warnings/notes

In the repository of my R package, I set a GitHub Actions workflow for the R CMD check command, following the examples shown in the usethis package documentatio

Cannot import script from repository in pytest using GitHub actions

I am learning to implement automatic testing using GitHub actions. I am trying to solve the following import error. The error is: utils\test_capitalize.py:2: in

How to run a github-actions step, even if the previous step fails, while still failing the job

I'm trying to follow an example Github has for testing my build with github actions, and then compressing the test results and uploading them as an artifact. ht

GitHub actions deploys wrong version of Newtonsoft.Json nuget package to Azure

I have a GitHub action doing .net solution build, test and deploy to Azure: name: Build and deploy ASP.Net Core app to Azure Web App - project-test-api on: p

Reticulate fails automatic configuration in R package

I'm working on a R package, that makes use of reticulate to call some functions of a Python package I implemented, installable through pip. Following its docume

How to get the current branch within Github Actions?

I'm building Docker images with Github Actions and want to tag images with the branch name. I found the GITHUB_REF variable, but it results in refs/heads/featur

How to get the current branch within Github Actions?

I'm building Docker images with Github Actions and want to tag images with the branch name. I found the GITHUB_REF variable, but it results in refs/heads/featur

Delete a workflow from GitHub Actions

I create a couple workflows in the .github/workflows folder of my repository to experiment with GitHub Actions. I have since learned quite a bit and deleted sai

How to use parallel_tests in github actions

I'm trying to use parallel_tests in my github action to run my test suite but I was not able to find a proper solution. The official docs has one but it is for

How can i get status of the last Github action run

How can I get status of the last Github action run in order to use it in other workflow? I saw the option with REST but maybe there is another way how to do wor

How to save github secrets content in a file in github action

I was trying to do the following : echo ${{secrets.key}} > myfile But unfortunately, this doesn't work since myfile would be empty after this when i checked.

How to attach a markdown page to GitHub Actions workflow run summary?

The GitHub Action "dotnet-tests-report" attaches a markdown page with test results to the Github Action workflow run summary. This is really nice. Once the work

GitHub Actions: How to dynamically set environment url based on deployment step output?

I found out about a really nice GitHub Actions Feature called Environments. Using the appropriate syntax a Environment could also be created inside a GitHub Act

GitHub Action workflow for running steps in parallel

I am working on a project. I need to create a workflow to run integration tests on an iOS device. Scenario: I've to run a local server at some port and in paral

Docker build multiplatform asp.net core 5.0 app on armV7 with github action

I have a problem and I can't find a solution... I try to build docker image in a pipline with docker actions. My docker image build an ASP.NET core 5.0 app. All

How to trigger Github workflows on 'link Issue to PR'?

I would like a workflow to trigger on an Issue once it is linked to a PR but it doesn't seem like this option is provided by github. Does anyone have a workarou

GitHub actions: default branch variable

Is there any smart way to determine the default branch in GitHub actions? Now I need to write something like: on: push: branches: - master is there

Github Actions - No Such File or Directory on Any Run Step

I am trying to test out Github Actions for a small web project. I have two projects in the repository, and I want to create a deployment script for only the web