Skip to content

Commit

Permalink
Use virtualenv in musllinux tests
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Mar 26, 2024
1 parent 9bda7b8 commit bb84a67
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ jobs:
image: alpine:latest
options: -v ${{ github.workspace }}:/io -w /io
run: |
apk add py3-pip
pip3 install -U pip pytest
pip3 install nh3 --no-index --find-links /io/dist/ --force-reinstall
apk add py3-virtualenv
python3 -m virtualenv .venv
source .venv/bin/activate
pip install -U pip pytest
pip install nh3 --no-index --find-links /io/dist/ --force-reinstall
cd tests && python3 -m pytest
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -206,10 +208,12 @@ jobs:
distro: alpine_latest
githubToken: ${{ github.token }}
install: |
apk add py3-pip
pip3 install -U pip pytest
apk add py3-virtualenv
run: |
pip3 install nh3 --no-index --find-links dist/ --force-reinstall
python3 -m virtualenv .venv
source .venv/bin/activate
pip install pytest
pip install nh3 --no-index --find-links dist/ --force-reinstall
cd tests && python3 -m pytest
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit bb84a67

Please sign in to comment.