Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
uses: ludeeus/action-shellcheck@master

test:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: [setup, lint]
steps:
- uses: actions/checkout@v4
Expand All @@ -66,6 +66,11 @@ jobs:
path: |
.venv
key: ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/test.txt') }}

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run core tests
run: |
python${{ env.PYTHON_VERSION }} -m venv .venv
Expand Down Expand Up @@ -98,16 +103,21 @@ jobs:
# TODO - figure out best practice for caching docker images
# (Using the virtualenv to get pytest)
test_dockerfile:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: [setup, lint]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: virtualenv-cache
with:
python-version: ${{ env.PYTHON_VERSION }}
path: |
.venv
key: ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/test.txt') }}
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Test Dockerfile
run: |
python${{ env.PYTHON_VERSION }} -m venv .venv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
#arch: ["arm64", "amd64"]
# NOTE(luke): temporary disable arm64 since its failing the smoke test
arch: ["amd64"]
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: [setup, set-short-sha]
env:
SHORT_SHA: ${{ needs.set-short-sha.outputs.short_sha }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
# write to the build repository to cache for the publish-images job
docker push $DOCKER_BUILD_REPOSITORY:${{ matrix.arch }}-$SHORT_SHA
publish-images:
runs-on: ubuntu-latest-m
runs-on: ubuntu-latest
needs: [setup, set-short-sha, build-images]
env:
SHORT_SHA: ${{ needs.set-short-sha.outputs.short_sha }}
Expand Down
Loading