add on_ready_counter to reduction #121
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [pull_request, push] | |
jobs: | |
#################### Unittests #################### | |
unittest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- name: Install system packages | |
run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev | |
- name: Check out code from GitHub | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
id: python | |
uses: actions/setup-python@main | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install --upgrade pip setuptools wheel tox tox-gh-actions tox-docker | |
- name: Run unittest | |
run: tox -v -e ${{ matrix.python-version }}-unit -- -v |