Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
Try to use "python3" as shell
Browse files Browse the repository at this point in the history
Signed-off-by: Release-Candidate <rec@gmx.at>
  • Loading branch information
Release-Candidate committed Nov 19, 2023
1 parent a56d68d commit 741e7bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,15 @@ jobs:
git clone https://github.com/facebook/ocaml-scripts.git --depth 1
- name: Install Opam Packages
shell: python
shell: python3
run: |
import json
import subprocess
import sys
import io
file_names = ["${{ matrix.dir }}/third-party/dromedary.json"]
cmd = ["opam", "install", "menhir", "ocamlfind"]
for file_name in file_names:
with io.open(file_name, "rt", encoding="utf-8") as fd:
with open(file_name, "rt", encoding="utf-8") as fd:
package_list = json.load(fd)
cmd.extend(package_list["packages"])
subprocess.run(cmd)
Expand Down

0 comments on commit 741e7bc

Please sign in to comment.