Skip to content

Bump certifi from 2024.6.2 to 2024.7.4 #611

Bump certifi from 2024.6.2 to 2024.7.4

Bump certifi from 2024.6.2 to 2024.7.4 #611

Workflow file for this run

name: Run Python Tests
on:
push:
branches:
- dev-*
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install dependencies
run: |
sudo apt-get install tar
pip install python-magic
# can use single requirement file referring all three
pip install -r all_requirements.txt
- name: Run tests
run: |
docker run -d -p 8000:80 kennethreitz/httpbin
python -m unittest
# benchmark is not working for long time.
# TODO
# - name: Run benchmark
# run: pytest benchmarks/__main__.py --benchmark-json output.json
# - name: Download previous benchmark data
# uses: actions/cache@v1
# with:
# path: ./cache
# key: ${{ runner.os }}-benchmark
# - name: Store benchmark result
# uses: rhysd/github-action-benchmark@v1
# with:
# name: Python Benchmark with pytest-benchmark
# tool: 'pytest'
# output-file-path: output.json
# alert-threshold: '150%'
# fail-on-alert: true
# github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
# comment-on-alert: true