Skip to content

Commit

Permalink
Try another approach to testing out updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cscollett committed Aug 19, 2024
1 parent 90f1f66 commit a4a754b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/compatability-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:
run: |
pip install poetry
- name: Install locked dependencies (including dev)
run: |
poetry install --with dev
# - name: Install locked dependencies (including dev)
# run: |
# poetry install --with dev --no-lock

- name: Update dependencies
run: |
if [[ "${{ matrix.update-strategy }}" == "minor" ]]; then
echo "Updating to minor versions"
poetry update
poetry install --with dev --no-lock
elif [[ "${{ matrix.update-strategy }}" == "major" ]]; then
echo "Updating to major versions"
sed -i 's/\^/>=/g' pyproject.toml # Adjust constraints to allow major updates
poetry update
poetry install --with dev --no-lock
fi
- name: Run tests
Expand Down

0 comments on commit a4a754b

Please sign in to comment.