Skip to content

Commit 40e7680

Browse files
committed
Fix workflow
1 parent 9d8e9b4 commit 40e7680

File tree

5 files changed

+44
-8
lines changed

5 files changed

+44
-8
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build and Release Yin-Yang
22

33
on:
4-
push:
54
pull_request:
5+
branches: [master]
66

77
jobs:
88
build:
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install Poetry dependencies
4444
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4545
run: |
46-
poetry install --sync --no-interaction
46+
poetry sync --no-interaction
4747
# Compile and build Yin-Yang
4848
- name: Compile ui, translations and resources
4949
run: poetry run ./scripts/build_ui.sh

.github/workflows/python-ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
name: Python CI
44

55
on:
6-
push:
7-
branches: [master, beta]
86
pull_request:
97
branches: [master, beta]
108

@@ -46,7 +44,7 @@ jobs:
4644
- name: Install Poetry dependencies
4745
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4846
run: |
49-
poetry install --sync --no-interaction
47+
poetry sync --no-interaction
5048
# Build and test Yin-Yang
5149
- name: Compile ui, translations and resources
5250
run: poetry run ./scripts/build_ui.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ For development, skip the install and instead build python using Poetry. A virtu
9595
# Load into virtual environment
9696
poetry env use python
9797
# Install dependencies
98-
poetry install --sync
98+
poetry sync
9999
# Load Yin-Yang
100100
poetry run python -m yin_yang
101101
```

poetry.lock

Lines changed: 37 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ toml = "^0.10.2"
4141
setuptools = "^69.5.1"
4242
wheel = "^0.43.0"
4343
cython = "<3.0"
44+
# necessary to compile ui files
45+
PySide6-Essentials="^6.8.1"
46+
PySide6-Addons="^6.8.1"
4447

4548
[build-system]
4649
requires = ["poetry-core"]

0 commit comments

Comments
 (0)