Skip to content

Commit

Permalink
Try to use the local copy of truststore
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli authored and sethmlarson committed Jul 2, 2022
1 parent ef433db commit 362d56b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.x

- name: Install mkcert on macOS
if: runner.os == 'macOS'
run: |
Expand Down Expand Up @@ -98,16 +98,13 @@ jobs:
with:
python-version: "3.10"

- name: Install truststore
working-directory: '${{ github.workspace }}/pip'
- name: Patch tests to install local copy of truststore
working-directory: "${{ github.workspace }}/pip"
run: |
# Create a virtualenv for nox and install truststore inside
python -m venv .nox/test-3.10
.nox/test-3.10/bin/python -m pip install \
${{ github.workspace }}/truststore
sed -i 's|script.pip("install", "truststore")|script.pip("install", "${{ github.workspace }}/truststore")|' tests/functional/test_truststore.py
- name: Run tests
working-directory: '${{ github.workspace }}/pip'
working-directory: "${{ github.workspace }}/pip"
run: |
python -m pip install nox
nox -s test-3.10 -- \
Expand Down

0 comments on commit 362d56b

Please sign in to comment.