Skip to content

Commit

Permalink
Temp: Adding a temporary GitHub action so that I can trouble shoot a …
Browse files Browse the repository at this point in the history
…bug with the DB refresh action
  • Loading branch information
joeflack4 committed Nov 22, 2023
1 parent 232ef3c commit a4ce251
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/bugfix-temp.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion termhub-vocab

0 comments on commit a4ce251

Please sign in to comment.