From 9d38b5df3967f556d56eb3ee86b4cb986c46f2c3 Mon Sep 17 00:00:00 2001 From: Nora Shapiro Date: Mon, 21 Oct 2024 15:50:00 -0700 Subject: [PATCH] trying ai suggestions --- .github/workflows/api.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 704d1d1..c593d69 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -5,6 +5,8 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + container: + image: python:3.10-alpine name: Test python API steps: - uses: actions/checkout@v4 @@ -17,10 +19,13 @@ jobs: run: pytest --cov=api.calculator --cov-report=xml # - name: Upload coverage reports to Codecov with GitHub Action # uses: codecov/codecov-action@v4 + - name: Install build dependencies for Alpine + run: apk add --no-cache build-base libffi-dev python3-dev gcc g++ - name: Checkout codecov-cli test branch uses: actions/checkout@v4 with: repository: codecov/codecov-cli + ref: main - name: Run Codecov with test branch of CLI run: | pip install .