Skip to content

Commit

Permalink
workflow stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyagreco committed Aug 12, 2024
1 parent 50a4d4c commit 1de5306
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
11 changes: 4 additions & 7 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ jobs:
build:
name: unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11]

steps:
- uses: actions/checkout@v3

- name: Get current required Python version
id: get-python-versions
run: |
MINIMUM_VERSION=$(grep -oP '__version_minimum_python__ = "\K.*(?=")' leeger/_version.py)
echo "CURRENT_VERSION=$MINIMUM_VERSION" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ env.CURRENT_VERSION }}
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand Down

0 comments on commit 1de5306

Please sign in to comment.