88 runs-on : ubuntu-latest
99 strategy :
1010 matrix :
11- python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 ", "3.12 "]
11+ python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 ", "3.13 "]
1212 os :
1313 [
1414 ubuntu-20.04,
@@ -19,61 +19,47 @@ jobs:
1919 macos-11,
2020 ]
2121 steps :
22- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # tag=v4.2.1
22+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
2323 - name : Set up Python ${{ matrix.python-version }}
24- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # tag=v5.3 .0
24+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # tag=v5.4 .0
2525 with :
2626 python-version : ${{ matrix.python-version }}
2727 - name : Install tools
2828 run : |
2929 python -m pip install --upgrade pip setuptools wheel
3030 - name : Install pytest
3131 run : |
32- python -m pip install pytest
32+ python -m pip install -r dev-requirements.txt
3333 - name : Install requirements
3434 run : |
35- python -m pip install -r requirements.txt
35+ python -m pip install pyproject.toml
3636 - name : Run pytest
3737 run : |
3838 pytest tests/test_ocspchecker.py -v --junitxml=test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml
3939 - name : Upload test results
40- uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
40+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # tag=v4.6.1
4141 with :
4242 name : pytest-results for ${{ matrix.os }}-python${{ matrix.python-version }}
4343 path : " **/test-output-${{ matrix.os }}-python${{ matrix.python-version }}.xml"
44- # - name: Upload coverage results
45- # uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag=v4.4.3
46- # with:
47- # name: pytest-results for ${{ matrix.python-version }}
48- # path: "**/coverage.xml"
4944 if : ${{ always() }}
5045
51- # build:
52- # runs-on: ubuntu-latest
53- # needs: test
54- # steps:
55- # - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
56- # - name: Set up Python 3.x
57- # uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # tag=v4.7.1
58- # with:
59- # python-version: "3.9"
60- # architecture: "x64"
61- # - name: Install tools
62- # run: |
63- # python -m pip install --upgrade pip setuptools wheel
64- # python -m pip install build twine
65- # - name: Build pypy package
66- # run: |
67- # python -m build
68- # - name: Check package description
69- # run: |
70- # twine check dist/*
71- # - name: Generate provenance
72- # uses: slsa-framework/[email protected] 73- # with:
74- # artifact_path: dist/
75- # - name: Upload provenance
76- # uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag=v3.1.2
77- # with:
78- # name: OCSPChecker provenance
79- # path: build.provenance
46+ build :
47+ runs-on : ubuntu-latest
48+ needs : test
49+ steps :
50+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
51+ - name : Set up Python 3.x
52+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # tag=v5.4.0
53+ with :
54+ python-version : " 3.9"
55+ architecture : " x64"
56+ - name : Install tools
57+ run : |
58+ python -m pip install --upgrade pip setuptools wheel
59+ python -m pip install build twine
60+ - name : Build pypy package
61+ run : |
62+ python -m build
63+ - name : Check package description
64+ run : |
65+ twine check dist/*
0 commit comments