Skip to content

Commit

Permalink
Update CI/CD pipelines Part 1 (#2580)
Browse files Browse the repository at this point in the history
* update comment

* fix failing merge workflow
  • Loading branch information
dennisbader authored Nov 3, 2024
1 parent cade7ae commit d057959
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ jobs:
run: |
python -m pip install --upgrade pip
- name: "Install `flavor=${{ matrix.flavor }}` Dependencies"
- name: "Install Dependencies Flavour ${{ matrix.flavour }}"
run: |
if [ "${{ matrix.flavor }}" == "core" ]; then
if [ "${{ matrix.flavour }}" == "core" ]; then
pip install -r requirements/core.txt -r requirements/dev.txt
elif [ "${{ matrix.flavor }}" == "torch" ]; then
elif [ "${{ matrix.flavour }}" == "torch" ]; then
pip install -r requirements/core.txt -r requirements/torch.txt -r requirements/dev.txt
elif [ "${{ matrix.flavor }}" == "all" ]; then
elif [ "${{ matrix.flavour }}" == "all" ]; then
pip install -r requirements/dev-all.txt
fi
Expand All @@ -63,10 +63,11 @@ jobs:
- name: "Run tests"
run: |
if [ "${{ matrix.flavor }}" == "all" ]; then
if [ "${{ matrix.flavour }}" == "all" ]; then
pytest --durations=50 --cov=darts --cov-config=.coveragerc --cov-report=xml darts/tests
else
pytest --durations=50
fi
- name: "Codecov upload"
if: ${{ matrix.flavour == 'all' }}
Expand Down

0 comments on commit d057959

Please sign in to comment.