Skip to content

Commit

Permalink
Merge pull request #73 from zivy/updateInfrastructure
Browse files Browse the repository at this point in the history
Update infrastructure
  • Loading branch information
zivy authored May 1, 2024
2 parents 6adea00 + 3cc613a commit 3a4f2a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, "3.10"]
exclude: # macos-latest, 14, does not have Python 3.7, so workaround for now
- python-version: "3.7"
os: macos-latest
include: # Run Python 3.7 on older macos
- python-version: "3.7"
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -74,8 +80,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
#problems with package hashes when using latest pip so
#removed the pip upgrade from the run command below
#python -m pip install --upgrade pip
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest
run: |
Expand Down
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ repos:
args: ['--maxkb=200']
- id: detect-aws-credentials
args: ['--allow-missing-credentials'] # allow hook to pass when no credentials are detected
- id: detect-private-key
- id: detect-private-key
- id: check-json
- id: check-yaml
- repo: https://github.com/psf/black
rev: 22.12.0
hooks: # check conformance to black formatting
Expand Down

0 comments on commit 3a4f2a6

Please sign in to comment.