diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 08a648ce..be462999 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -15,13 +15,14 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.10.x' - - name: Install Env - # shiv will download the dependencies it needs on its own + - uses: snok/install-poetry@v1.3.1 + with: + virtualenvs-create: true + - name: Install Dependencies run: | pip install --upgrade pip - pip install shiv - pip install poetry - pip install poetry2setup + sudo apt-get install libjpeg8 libjpeg-dev libpng-dev libpq-dev -y + poetry install - name: Add CURRENT_TIME env property # the smart thing to do here would be to use the commit hash, but # github releases are ALPHABETIZED, so a commit hash of `abcdef` will diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 53969886..3532edbf 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -1,4 +1,4 @@ -name: Release +name: Test Build on: [pull_request] @@ -12,14 +12,14 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.10.x' - - name: Install Env - # shiv will download the dependencies it needs on its own + - uses: snok/install-poetry@v1.3.1 + with: + virtualenvs-create: true + - name: Install Dependencies run: | pip install --upgrade pip - pip install shiv - pip install poetry - pip install django==3 - pip install poetry2setup + sudo apt-get install libjpeg8 libjpeg-dev libpng-dev libpq-dev -y + poetry install - name: Add CURRENT_TIME env property # the smart thing to do here would be to use the commit hash, but # github releases are ALPHABETIZED, so a commit hash of `abcdef` will