From a4ce25129bf25d844542666686756d84431f94f4 Mon Sep 17 00:00:00 2001 From: Joe Flack Date: Tue, 21 Nov 2023 20:36:14 -0500 Subject: [PATCH] Temp: Adding a temporary GitHub action so that I can trouble shoot a bug with the DB refresh action --- .github/workflows/bugfix-temp.yml | 35 +++++++++++++++++++++++++++++++ termhub-vocab | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/bugfix-temp.yml diff --git a/.github/workflows/bugfix-temp.yml b/.github/workflows/bugfix-temp.yml new file mode 100644 index 000000000..1ab980434 --- /dev/null +++ b/.github/workflows/bugfix-temp.yml @@ -0,0 +1,35 @@ +name: bugfix-temp + +on: + workflow_dispatch: +jobs: + refresh-db: +# runs-on: ubuntu-18.04 +# runs-on: ubuntu-latest # not sure which is more current when resolving merge conflicts + runs-on: macos-latest + steps: + - name: Checkout repository and submodules + uses: actions/checkout@v2 + - name: Set up Python version + uses: actions/setup-python@v2 + with: + python-version: '3.9.7' # Not sure why 3.9.7 here and 3.9 elsewhere. the .7 works on mac, but not on ubuntu + + - name: Create and start virtual environment + run: | + python3 -m venv venv + source venv/bin/activate + +# - name: Install dependencies +# run: | +# python -m pip install --upgrade pip +# pip install --upgrade wheel +# pip install --upgrade setuptools +# pip install -r requirements.txt + + - name: Install + run: | + python -m pip install --upgrade pip + pip install --upgrade wheel + pip install --upgrade setuptools + pip install PyCG==0.0.7 diff --git a/termhub-vocab b/termhub-vocab index 9116fa434..b0cc420e4 160000 --- a/termhub-vocab +++ b/termhub-vocab @@ -1 +1 @@ -Subproject commit 9116fa434d406320ce90583d683414c9ad05dd42 +Subproject commit b0cc420e42558c42ccf537578196ca79908622bf