Skip to content

Commit

Permalink
Try and fix TKInter integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ToasterDEV committed Feb 27, 2024
1 parent 437a6ed commit 2782bce
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.11'
cache: 'pip'
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
Expand All @@ -28,6 +29,27 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
conda-pkg-caching:
name: Caching
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Cache conda
uses: actions/cache@v3
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: anaconda-client-env
channel-priority: strict
environment-file: environment.yml
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
nuitka-build:
strategy:
matrix:
Expand All @@ -42,6 +64,7 @@ jobs:
with:
auto-activate-base: true
activate-environment: ""
mamba-version: "*"
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ dependencies:
- pip:
- truth-table-generator
- CTkTable
- nuitka
- nuitka
-

0 comments on commit 2782bce

Please sign in to comment.