Skip to content

Commit

Permalink
fix failing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Dec 19, 2022
1 parent bb38f51 commit 27a12b5
Show file tree
Hide file tree
Showing 4 changed files with 661 additions and 662 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
os: [ubuntu-latest, macos-latest]
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]
os: [ ubuntu-latest, macos-latest ]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.1
- name: Install dependencies
run: make install-ci
- name: Check formatting with black and isort
Expand All @@ -37,5 +41,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unittests
files: ./coverage.xml
flags: unittests
5 changes: 5 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
with:
python-version: "3.7"

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.3.1

- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: make install-ci
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ install:

.PHONY: install-ci
install-ci:
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --no-interaction
poetry run snakefmt --version

Expand Down
Loading

0 comments on commit 27a12b5

Please sign in to comment.