Skip to content

Commit

Permalink
Update create_test_conda_env.yml
Browse files Browse the repository at this point in the history
i want to see if i can get pylint to run as a sep step.

update workflow calls to reflect whats in the `conda build` target `meta.yml`
  • Loading branch information
ilaflott authored Jul 26, 2024
1 parent 2947c44 commit 8ac97bf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/create_test_conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,16 @@ jobs:
python --version
$CONDA/envs/fre-cli/bin/python --version
# run pytest
$CONDA/envs/fre-cli/bin/pytest
#$CONDA/envs/fre-cli/bin/pytest
pytest --config-file=fre/pytest.ini --cov-config=fre/coveragerc --cov=fre fre/
- name: Run pylint in fre-cli environment
run: |
# try to make sure the right things are in GITHUB_PATH
echo $CONDA/envs/fre-cli/bin >> $GITHUB_PATH
which python
python --version
$CONDA/envs/fre-cli/bin/python --version
# run pytest
#$CONDA/envs/fre-cli/bin/pylint
pylint fre/ || echo "pylint returned non-zero exit code. preventing workflow from dying with this echo."

0 comments on commit 8ac97bf

Please sign in to comment.