diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f8349b..d86d00a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ defaults: run: shell: bash +env: + FORCE_COLOR: "1" + jobs: lint: runs-on: ubuntu-latest @@ -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 }} @@ -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