Skip to content

Advanced attribute manager #74

Advanced attribute manager

Advanced attribute manager #74

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.11] # List of Python versions to test against
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
update-environment: false
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tox
run: tox
- name: Run linter
run: black --check .
# On windows we want to test only latest python version.
# Everything else will be tested against Linux
test_on_windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
update-environment: false
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest
test_python_2:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Build
run: docker build -t backtrace-python .
- name: Run Docker Container
run: docker run --rm backtrace-python