Skip to content

1.9.14 (#37)

1.9.14 (#37) #29

Workflow file for this run

name: OCSPChecker
on: [push]
jobs:
test:
name: ${{ matrix.os }}-python${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os:
[
ubuntu-20.04,
ubuntu-22.04,
windows-2022,
windows-2019,
macos-12,
macos-11,
]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # tag=v5.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Install tools
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install pytest
run: |
python -m pip install pytest
- name: Install requirements
run: |
python -m pip install -r requirements.txt
- name: Run pytest
run: |
pytest tests/test_ocspchecker.py -v --junitxml=test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml
- name: Upload test results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
with:
name: pytest-results for ${{ matrix.os }}-python${{ matrix.python-version }}
path: "**/test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml"
# - name: Upload coverage results
# uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
# with:
# name: pytest-results for ${{ matrix.python-version }}
# path: "**/coverage.xml"
if: ${{ always() }}
# build:
# runs-on: ubuntu-latest
# needs: test
# steps:
# - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
# - name: Set up Python 3.x
# uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # tag=v4.7.1
# with:
# python-version: "3.9"
# architecture: "x64"
# - name: Install tools
# run: |
# python -m pip install --upgrade pip setuptools wheel
# python -m pip install build twine
# - name: Build pypy package
# run: |
# python -m build
# - name: Check package description
# run: |
# twine check dist/*
# - name: Generate provenance
# uses: slsa-framework/github-actions-demo@v0.1
# with:
# artifact_path: dist/
# - name: Upload provenance
# uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3.1.2
# with:
# name: OCSPChecker provenance
# path: build.provenance