Skip to content

Commit

Permalink
change python version
Browse files Browse the repository at this point in the history
  • Loading branch information
sangttruong authored Aug 5, 2023
1 parent fbd8106 commit 0a1db5a
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,11 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
activate-environment: anaconda-client-env
environment-file: environment.yml
python-version: 3.8
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Activate conda environment
run: |
conda activate anaconda-client-env
conda info
conda list
python-version: 3.9
- name: Lint with flake8
run: |
conda install flake8
Expand Down

0 comments on commit 0a1db5a

Please sign in to comment.