question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI: Make GitHub Actions builds compatible with Windows

See original GitHub issue

GitHub actions support executing bash script in Windows. But currently, our bash script to setup the environment doesn’t work, because the path to conda is not set correctly for Windows (only for Linux): https://github.com/ibis-project/ibis/blob/master/ci/setup_env.sh#L10 (the conda location is defined in GitHub actions with the env variable $CONDA if I’m not wrong).

We should fix the script so it works on Windows, and then we should add windows-latest to the build of backends that don’t require a docker container: https://github.com/ibis-project/ibis/blob/master/.github/workflows/main.yml#L18

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
datapythonistacommented, Oct 16, 2020

so maybe it should be linked to this?

That issue has a Closes #2389, they are linked already. 😃

Not sure if we’ll be able to use a matrix in all cases. If we still want to test mysql/postgres (or other backends) in Windows, I don’t think we can use the same approach. GitHub Actions don’t implement the services (docker containers) in Windows afaik.

0reactions
datapythonistacommented, Oct 27, 2020

You could run it in your fork by just opening the PR against your fork master, instead of the main repo master. You can also remove the builds and steps you don’t need if you are going to do lots of tests. But it’s fine to open a normal PR and keep testing here. If you do that you can prefix the title with WIP so we know it’s not yet ready.

Read more comments on GitHub >

github_iconTop Results From Across the Web

github-actions-for-desktop-apps/README.md at main
Create CI /CD workflows for WPF and Windows Forms Applications built on .NET Core 3.x. This repo contains a sample application to demonstrate...
Read more >
Write Your GitHub Actions Workflow for Build Windows ...
All CI servers in GitHub Actions powered by Microsoft Azure (except macOS) and GitHub utilizes Standard DS2 v2 instances. That's a shame because ......
Read more >
Build continuous integration (CI) workflows by using GitHub ...
Learn how to create workflows that enable you to use Continuous Integration (CI) for your projects. Learning objectives. In this module, you will:...
Read more >
Introduction to GitHub Actions - Docker Documentation
GitHub Actions is a popular CI/CD platform for automating your build, test, and deployment pipeline. Docker provides a set of official GitHub Actions...
Read more >
How to build a CI/CD pipeline with GitHub Actions in four ...
Step 1: Create or choose a repository, and pick a project · Step 2: Open GitHub Actions in your repository to start building...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found