Skip to content

Commit

Permalink
Add conda
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinspace committed Oct 19, 2023
1 parent f01f884 commit 1c1639a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/cicd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,16 @@ jobs:
poetry version major
echo "software_version=$(poetry version | awk '{print $2}')" >> $GITHUB_ENV
echo "TARGET_ENV_UPPERCASE=OPS" >> $GITHUB_ENV
- name: Install conda
- name: Install lint and test
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: bignbit
environment-file: conda-environment.yaml
auto-activate-base: false
- name: Install package
run: poetry install
- name: Lint
run: |
poetry install
poetry run pylint bignbit
poetry run flake8 bignbit
- name: Test and coverage
run: |
poetry run pytest --junitxml=build/reports/pytest.xml --cov=bignbit --cov-report=xml:build/reports/coverage.xml tests/
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
Expand Down

0 comments on commit 1c1639a

Please sign in to comment.