fix(ad_session): find_computer_by_sam_name to return ADComputer #7
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: Run pylint | |
on: | |
pull_request: | |
jobs: | |
run-pylint-new: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Display current running SHA | |
run: git show | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Clear pycache files | |
run: find . | grep -E "(/__pycache__$|\.pyc$|\.pyo$)" | xargs rm -rf | |
- name: Install dependencies | |
run: python -m pip install -r requirements.txt && python -m pip install pylint | |
- name: Run pylint and require no errors | |
run: python -m pylint ms_active_directory --disable=C,R,W | |
run-pylint-old: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.6", "3.7"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Display current running SHA | |
run: git show | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Clear pycache files | |
run: find . | grep -E "(/__pycache__$|\.pyc$|\.pyo$)" | xargs rm -rf | |
- name: Install dependencies | |
run: python -m pip install -r requirements.txt && python -m pip install pylint | |
- name: Run pylint and require no errors | |
run: python -m pylint ms_active_directory --disable=C,R,W | |
run-pylint-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Display current running SHA | |
run: git show | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: python -m pip install -r requirements.txt && python -m pip install pylint | |
- name: Run pylint and require no errors | |
run: python -m pylint ms_active_directory --disable=C,R,W | |