Skip to content

bump version 0.3.2 -> 0.4.0 #80

bump version 0.3.2 -> 0.4.0

bump version 0.3.2 -> 0.4.0 #80

Workflow file for this run

name: Build Main
on:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10"]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
pytest --cov-report xml --cov=dr_simulator tests/
- name: Upload codecov
uses: codecov/codecov-action@v1
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
pip install pylint
pip install black
- name: Analysing the code with pylint
run: |
pylint dr_simulator
- name: Check with black
if: ${{ always() }}
run: |
black --check dr_simulator