Skip to content

[CI] use aiohttp beta for now #192

[CI] use aiohttp beta for now

[CI] use aiohttp beta for now #192

Workflow file for this run

name: Coverage
on:
push:
branches:
- master
tags-ignore:
- '**'
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
name: Python ${{ matrix.python-version }} coverage
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install -r dev-requirements.txt
- run: ./tools/Linux/dist_script.sh
- run: python -m pip install dist/*.whl -v
- name: Prevent exceeding steam rate limits (waiting 30s)
run: sleep 30s
- run: pytest --cov=stlib --cov-report=xml
env:
steamid: ${{ secrets.STEAMID }}
account_name: ${{ secrets.ACCOUNT_NAME }}
password_raw: ${{ secrets.PASSWORD_RAW }}
shared_secret: ${{ secrets.SHARED_SECRET }}
identity_secret: ${{ secrets.IDENTITY_SECRET }}
api_key: ${{ secrets.API_KEY }}
LIMITED_ACCOUNT: ${{ secrets.LIMITED_ACCOUNT }}
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
flags: unittests
verbose: true