Skip to content

Commit

Permalink
Updated linting to not use conda
Browse files Browse the repository at this point in the history
  • Loading branch information
asgibson committed Nov 12, 2024
1 parent cad6d3a commit 281b4fd
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up OnAIR conda environment
uses: conda-incubator/setup-miniconda@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
activate-environment: onair
environment-file: environment_dev.yml
channels: conda-forge, nodefaults
python-version: ${{ matrix.python-version }}
auto-activate-base: false
miniforge-version: latest
- name: Lint Project
shell: bash -l {0}
- name: Install dependencies
run: |
conda config --remove channels defaults
pylint onair plugins test
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint black
- name: Lint Project
run: pylint onair plugins test
- name: Check Formatting
shell: bash -l {0}
run: black --check .
- name: Confirm no defaults
run: conda config --show channels

0 comments on commit 281b4fd

Please sign in to comment.