feat: Add statistics text file output plugin" #77
Workflow file for this run
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: Python Version Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9, "3.10"] | |
steps: | |
- name: Install Ubuntu packages | |
run: | | |
sudo apt update | |
sudo apt install -y g++-arm-linux-gnueabi binutils-arm-linux-gnueabi | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install -r ./requirements.txt | |
python3 -m pip install -r ./tests/test_requirements.txt | |
- name: Prepare tests | |
run: | | |
mkdir test_output | |
- name: Run tests | |
run: | | |
cd test_output | |
python3 ../tests/test_main.py |