Skip to content

Commit b50af53

Browse files
authored
Merge pull request #70 from unum-cloud/main-dev
Fix: Workflows
2 parents 05c65ff + 61e8968 commit b50af53

4 files changed

Lines changed: 43 additions & 3 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Pre-Release
2+
3+
on:
4+
push:
5+
branches: ["main-dev"]
6+
pull_request:
7+
branches: ["main-dev"]
8+
9+
env:
10+
BUILD_TYPE: Release
11+
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
12+
PYTHONUTF8: 1
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
20+
test_python:
21+
name: Test Python
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
matrix:
25+
os: [ubuntu-20.04, macOS-11, windows-2022]
26+
python-version: ["3.11"]
27+
28+
steps:
29+
- uses: actions/checkout@v3
30+
- run: git submodule update --init --recursive
31+
- name: Set up Python ${{ matrix.python-version }}
32+
uses: actions/setup-python@v4
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
- name: Install dependencies
36+
run: |
37+
python -m pip install --upgrade pip
38+
pip install pillow numpy
39+
- name: Build locally
40+
run: python -m pip install .

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
url: ${{ steps.deployment.outputs.page_url }}
9595
runs-on: ubuntu-22.04
9696
if: ${{ always() }}
97-
needs: publish_wheels
97+
needs: publish_python
9898
steps:
9999
- name: Checkout
100100
uses: actions/checkout@v3

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cff-version: 1.2.0
22
message: "If you use this software, please cite it as below."
33
authors:
44
- family-names: "Vardanian"
5-
given-names: "Ashot"
5+
given-names: "Ash"
66
orcid: "https://orcid.org/0000-0002-4882-1815"
77
title: "UCall by Unum Cloud"
88
version: 0.5.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def run(self):
131131
]
132132
},
133133
install_requires=[
134-
'numpy>=1.16',
134+
'numpy',
135135
'pillow'
136136
],
137137
zip_safe=False,

0 commit comments

Comments
 (0)