Skip to content

Commit

Permalink
Test future breakage periodically
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Feb 12, 2022
1 parent 9504cdf commit 38917e3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-future.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test-future

# This workflow detects breakage against upcoming releases of dependencies
# even in the absence of activity in Darker's own repository.

on:
schedule:
- cron: "05 20 * * 6"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade 'pip>=20.3' # strict dependency resolution added in pip 20.3
pip install -e '.[isort,test]' --constraint constraints-future.txt
- name: Test with pytest
run: |
pytest

0 comments on commit 38917e3

Please sign in to comment.