Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ftrifoglio committed Mar 3, 2023
1 parent 760b6be commit 36f8405
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ jobs:
run: |
sudo apt-get install -y --no-install-recommends pandoc
#----------------------------------------------
# install staticrypt
#----------------------------------------------
- name: Install StatiCrypt
run: npm install -g staticrypt
#----------------------------------------------
# load cached venv
#----------------------------------------------
- name: Load cached venv
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ jobs:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: ["ubuntu-latest"
# , "macos-latest", "windows-latest"
]
python-version: ["3.8"
# , "3.9", "3.10", "3.11"
]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -64,10 +68,14 @@ jobs:
#----------------------------------------------
- name: Install Windows dependencies
if: runner.os == 'Windows' && steps.cached-pip-wheels.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with=tests
run: |
poetry install --no-interaction --no-root
poetry add pytest
- name: Install other OS dependencies
if: runner.os != 'Windows' && steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --with=tests
run: |
poetry install --no-interaction --no-root
poetry add pytest
- name: Install library
run: poetry install --no-interaction
#----------------------------------------------
Expand All @@ -88,12 +96,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
token: ${{ secrets.PAT }}
fetch-depth: 0
#----------------------------------------------
# bump version, push tag and update changelog
#----------------------------------------------
- name: Bump version
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
github_token: ${{ secrets.PAT }}

0 comments on commit 36f8405

Please sign in to comment.