Skip to content

Commit d396d5d

Browse files
committed
revert changes to workflow
1 parent 2faee4a commit d396d5d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/run-tests.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,31 @@ on:
1111

1212
permissions:
1313
contents: read
14+
pull-requests: write
1415

1516
jobs:
1617
build:
1718

1819
runs-on: ubuntu-latest
1920

2021
steps:
21-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v3
2223
- name: Set up Python 3.11
2324
uses: actions/setup-python@v3
2425
with:
2526
python-version: "3.11"
27+
- name: Add conda
28+
run: |
29+
echo $CONDA/bin >> $GITHUB_PATH
2630
- name: Install dependencies
2731
run: |
28-
python -m pip install --upgrade pip
29-
pip install pytest
30-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
conda install mamba -c conda-forge
33+
mamba env update --file environment.yml --name asp_plot
34+
source $CONDA/etc/profile.d/conda.sh
35+
conda activate asp_plot
36+
pip install .
3137
- name: Test with pytest
3238
run: |
39+
source $CONDA/etc/profile.d/conda.sh
40+
conda activate asp_plot
3341
pytest

0 commit comments

Comments
 (0)