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

Commit

Permalink
Fix CI with venv
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobellaccini authored Sep 4, 2024
1 parent 7d21959 commit 32349c5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
run: apk add bash
- name: Pre-req - pip
run: apk add py3-pip
- name: Pre-req - upgrade pip
run: pip3 install --upgrade pip
- name: Pre-req - libffi-dev
run: apk add libffi-dev
- name: Pre-req - python3-dev
run: apk add python3-dev
- name: Pre-req - rust cargo # this is for pyca/cryptography Ansible dep
run: apk add rust cargo
- name: Pre-req - create and activate venv
run: mkdir /venvtest && python3 -m venv /venvtest && . /venvtest/bin/activate
- name: Pre-req - upgrade pip
run: pip3 install --upgrade pip
- name: Pre-req - ansible
run: pip3 install ansible

Expand All @@ -59,10 +61,12 @@ jobs:
run: brew update
- name: Install Crystal
run: brew install crystal
- name: Install pipx
run: brew install pipx

# this is for ansible
- name: Pre-req - ansible
run: pip3 install ansible
run: pipx install ansible

# nanvault tests
- name: Install dependencies
Expand Down

0 comments on commit 32349c5

Please sign in to comment.