Skip to content

Commit

Permalink
[FIX] fix environment setting
Browse files Browse the repository at this point in the history
  • Loading branch information
SSooop committed Feb 7, 2025
1 parent ddf3fd6 commit aa68874
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pyrosys
auto-activate-base: false

- name: Build
shell: bash -el {0}
Expand All @@ -28,8 +29,6 @@ jobs:
- name: Run Ruff Check
shell: bash -el {0}
run: |
echo "Activating conda environment for Ruff Check"
source activate pyrosys
mkdir -p reports
ruff check src --fix --output-format=junit --output-file=reports/ruff-lint.xml
Expand All @@ -44,16 +43,12 @@ jobs:
- name: Run Ruff Format
shell: bash -el {0}
run: |
echo "Activating conda environment for Ruff Format"
source activate pyrosys
ruff format . --diff
- name: Run Mypy
continue-on-error: true
shell: bash -el {0}
run: |
echo "Activating conda environment for Mypy"
source activate pyrosys
mkdir -p reports
mypy src tests > reports/mypy.log
Expand All @@ -66,8 +61,6 @@ jobs:
- name: Run Tests
shell: bash -el {0}
run: |
echo "Activating conda environment for Tests"
source activate pyrosys
mkdir -p reports
pytest --junit-xml=reports/unittest.xml ./tests
Expand Down

0 comments on commit aa68874

Please sign in to comment.