Skip to content

Commit

Permalink
Add integration tests for pip
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Jul 1, 2022
1 parent d95c441 commit da07a91
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ defaults:
run:
shell: bash

env:
FORCE_COLOR: "1"

jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,10 +44,10 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -73,3 +76,37 @@ jobs:
run: |
python -m pip install nox
nox -s test
integration-pip:
runs-on: ubuntu-latest
name: Integration pip
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
path: truststore

- name: Checkout pypa/pip
uses: actions/checkout@v3
with:
repository: pypa/pip
path: pip

- name: Setup Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install truststore
working-directory: '${{ github.workspace }}/truststore'
run: |
python -m pip install .
- name: Run tests
working-directory: '${{ github.workspace }}/pip'
run: |
python -m pip install nox
nox -s test-3.10 -- -m integration
--verbose --numprocesses auto --showlocals
--durations=5

0 comments on commit da07a91

Please sign in to comment.