diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5a5740..8b9de56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: test: strategy: matrix: - python-version: [3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.x] + python-version: ['3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] # Random number to prevent exceeding the request frequency limit. max-parallel: 3 # 3.4 is not available on Focal. @@ -24,9 +24,9 @@ jobs: name: 'Python ${{ matrix.python-version }}' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '${{ matrix.python-version }}' - name: Install dependencies @@ -40,17 +40,19 @@ jobs: name: Publish steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.10' - name: Verify package can be installed - run: python3 -m pip install . + run: pip install . - name: Install package builder - run: python3 -m pip install --upgrade build + run: pip install --upgrade build - name: Build package run: python3 -m build - name: Publish as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: dist path: dist |