Skip to content

Commit 30cf047

Browse files
committed
try to fix window
1 parent 79cb44b commit 30cf047

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

.github/workflows/github-actions.yml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070
miniconda-version: "latest"
7171
channels: conda-forge, defaults
7272
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
73+
activate-environment: dackar_libs
7374
auto-update-conda: true
74-
auto-activate-base: true
75+
auto-activate-base: false
7576
- run: echo " The job was automatically triggered by a ${{ github.event_name }} event."
7677
- run: echo " This job is now running on a ${{ runner.os }} server"
7778
- run: echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
@@ -80,13 +81,44 @@ jobs:
8081
- run: pwd
8182
- run: |
8283
echo " Create dackar_libs"
83-
conda create -n dackar_libs python=3.11
84+
conda install python=3.11
8485
echo " Conda information"
8586
conda info
8687
echo " Activate Dackar conda environment"
87-
conda init powershell
88-
$CONDA/bin/activate dackar_libs
8988
pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn pyspellchecker contextualSpellCheck pandas
9089
python3 -m spacy download en_core_web_lg
9190
python3 -m coreferee install en
9291
python3 -m nltk.downloader all
92+
93+
94+
95+
96+
# Test-DACKAR-Windows:
97+
# runs-on: windows-latest
98+
# steps:
99+
# - uses: conda-incubator/setup-miniconda@v3
100+
# with:
101+
# miniconda-version: "latest"
102+
# channels: conda-forge, defaults
103+
# use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
104+
# activate-environment: dackar_libs
105+
# auto-update-conda: true
106+
# auto-activate-base: false
107+
# - run: echo " The job was automatically triggered by a ${{ github.event_name }} event."
108+
# - run: echo " This job is now running on a ${{ runner.os }} server"
109+
# - run: echo " The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
110+
# - name: Check out repository code
111+
# uses: actions/checkout@v3
112+
# - run: pwd
113+
# - run: |
114+
# echo " Create dackar_libs"
115+
# conda create -n dackar_libs python=3.11
116+
# echo " Conda information"
117+
# conda info
118+
# echo " Activate Dackar conda environment"
119+
# conda init powershell
120+
# $CONDA/bin/activate dackar_libs
121+
# pip install spacy==3.5 textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn pyspellchecker contextualSpellCheck pandas
122+
# python3 -m spacy download en_core_web_lg
123+
# python3 -m coreferee install en
124+
# python3 -m nltk.downloader all

0 commit comments

Comments
 (0)