Skip to content

Commit

Permalink
Fix: Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Jun 8, 2023
1 parent 654ab46 commit 61e8968
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Pre-Release

on:
push:
branches: ["main-dev"]
pull_request:
branches: ["main-dev"]

env:
BUILD_TYPE: Release
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
PYTHONUTF8: 1

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read

jobs:

test_python:
name: Test Python
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macOS-11, windows-2022]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pillow numpy
- name: Build locally
run: python -m pip install .
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
if: ${{ always() }}
needs: publish_wheels
needs: publish_python
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Vardanian"
given-names: "Ashot"
given-names: "Ash"
orcid: "https://orcid.org/0000-0002-4882-1815"
title: "UCall by Unum Cloud"
version: 0.5.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def run(self):
]
},
install_requires=[
'numpy>=1.16',
'numpy',
'pillow'
],
zip_safe=False,
Expand Down

0 comments on commit 61e8968

Please sign in to comment.