summaryrefslogtreecommitdiff
path: root/.github/workflows/primer-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/primer-test.yaml')
-rw-r--r--.github/workflows/primer-test.yaml46
1 files changed, 7 insertions, 39 deletions
diff --git a/.github/workflows/primer-test.yaml b/.github/workflows/primer-test.yaml
index e04bea94b..e357fe747 100644
--- a/.github/workflows/primer-test.yaml
+++ b/.github/workflows/primer-test.yaml
@@ -13,7 +13,7 @@ on:
branches:
- main
env:
- CACHE_VERSION: 2
+ CACHE_VERSION: 3
KEY_PREFIX: venv
concurrency:
@@ -35,10 +35,10 @@ jobs:
python-key: ${{ steps.generate-python-key.outputs.key }}
steps:
- name: Check out code from GitHub
- uses: actions/checkout@v3.3.0
+ uses: actions/checkout@v3.5.2
- name: Set up Python ${{ matrix.python-version }}
id: python
- uses: actions/setup-python@v4.5.0
+ uses: actions/setup-python@v4.6.0
with:
python-version: ${{ matrix.python-version }}
check-latest: true
@@ -51,7 +51,7 @@ jobs:
$GITHUB_OUTPUT
- name: Restore Python virtual environment
id: cache-venv
- uses: actions/cache@v3.2.5
+ uses: actions/cache@v3.3.1
with:
path: venv
key: >-
@@ -75,16 +75,16 @@ jobs:
python-version: [3.8, 3.9, "3.10", "3.11"]
steps:
- name: Check out code from GitHub
- uses: actions/checkout@v3.3.0
+ uses: actions/checkout@v3.5.2
- name: Set up Python ${{ matrix.python-version }}
id: python
- uses: actions/setup-python@v4.5.0
+ uses: actions/setup-python@v4.6.0
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: Restore Python virtual environment
id: cache-venv
- uses: actions/cache@v3.2.5
+ uses: actions/cache@v3.3.1
with:
path: venv
fail-on-cache-miss: true
@@ -96,35 +96,3 @@ jobs:
. venv/bin/activate
pip install -e .
pytest -m primer_stdlib --primer-stdlib -n auto -vv
-
- pytest-primer-external-batch-one:
- name: run on batch one / ${{ matrix.python-version }} / Linux
- runs-on: ubuntu-latest
- timeout-minutes: 60
- needs: prepare-tests-linux
- strategy:
- matrix:
- python-version: [3.8, 3.9, "3.10", "3.11"]
- steps:
- - name: Check out code from GitHub
- uses: actions/checkout@v3.3.0
- - name: Set up Python ${{ matrix.python-version }}
- id: python
- uses: actions/setup-python@v4.5.0
- with:
- python-version: ${{ matrix.python-version }}
- check-latest: true
- - name: Restore Python virtual environment
- id: cache-venv
- uses: actions/cache@v3.2.5
- with:
- path: venv
- fail-on-cache-miss: true
- key:
- ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
- needs.prepare-tests-linux.outputs.python-key }}
- - name: Run pytest
- run: |
- . venv/bin/activate
- pip install -e .
- pytest -m primer_external_batch_one --primer-external -n auto -vv