Skip to content

Commit

Permalink
Merge branch 'ci/configure-mono-repo' into ci/review-argilla-frontend…
Browse files Browse the repository at this point in the history
…-workflow
  • Loading branch information
frascuchon authored May 7, 2024
2 parents d4d9557 + f7eb639 commit 9188b90
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/argilla-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,4 @@ jobs:
with:
image-name: argilla/argilla-frontend-for-dev
image-version: ${{ needs.build_dev_docker_image.outputs.version }}
secrets: inherit


secrets: inherit
20 changes: 14 additions & 6 deletions .github/workflows/argilla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
include:
- searchEngineDockerImage: docker.elastic.co/elasticsearch/elasticsearch:8.8.2
searchEngineDockerEnv: '{"discovery.type": "single-node", "xpack.security.enabled": "false"}'
coverageReport: coverage-elasticsearch-8.8.2
runsOn: extended-runner

name: Run end2end tests
Expand All @@ -64,24 +63,33 @@ jobs:
push_coverage:
name: Upload code coverage
runs-on: ubuntu-latest

needs:
- run_unit_tests
- run_integration_tests

defaults:
run:
shell: bash -l {0}
working-directory: argilla

steps:
- name: Checkout Code 🛎
uses: actions/checkout@v4

- name: Download coverage reports
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: argilla/coverage-report

- name: Copy all reports
run: find coverage-report*/ -name "*.xml" -exec mv '{}' . \;

- name: Display current files structure
run: ls -R
run: find coverage-report/ -name "*.xml" -exec mv '{}' . \;

- name: Upload Coverage reports to Codecov 📦
uses: codecov/codecov-action@v2
with:
flags: argilla
token: ${{ secrets.CODECOV_TOKEN }}

build_python_package:
name: Build Argilla python package
Expand Down

0 comments on commit 9188b90

Please sign in to comment.