Skip to content

Commit

Permalink
Merge branch 'develop' into feat/improve_keyboard_navigation
Browse files Browse the repository at this point in the history
* develop:
  refactor: add `HuggingFaceDatasetMixIn` under `integrations` (#3326)
  feat: add list user workspaces endpoint (#3308)
  ci: Stop linking issues to team work project
  chore: add missing `greenlet` dependency in `server` extra (#3330)
  fix: unit test failing if not local db (#3307)
  ci: Optimize build + test pipeline (#3300)
  refactor: simplify old bulk endpoints to avoid create datasets if does not exists (#3306)
  📝 Update doc site link (#3299)
  🚑 Fix dependencies (#3302)
  feat: migrate to async SQLAlchemy engine (#3162)
  • Loading branch information
leire committed Jul 4, 2023
2 parents 0843105 + 851c14f commit 8358418
Show file tree
Hide file tree
Showing 119 changed files with 4,505 additions and 2,940 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build Argilla package

on:
workflow_call:

jobs:
build:
name: Build the python package
runs-on: ubuntu-latest
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v2
- name: Cache pip 👜
uses: actions/cache@v3
env:
# Increase this value to reset cache if pyproject.toml has not changed
CACHE_NUMBER: 0
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ env.CACHE_NUMBER }}-${{ hashFiles('pyproject.toml') }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "14"
- name: Build Package 🍟
run: |
pip install -U build
scripts/build_distribution.sh
- name: Upload package artifact
uses: actions/upload-artifact@v3
with:
name: python-package
path: dist
39 changes: 39 additions & 0 deletions .github/workflows/check-repo-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Check repository files

on:
workflow_call:
outputs:
pythonChanges:
description: "True if some files in python code have changed"
value: ${{ jobs.check-repo-files.outputs.pythonChanges }}
buildChanges:
description: "True if some files affecting the build have changed"
value: ${{ jobs.check-repo-files.outputs.pythonChanges }}

jobs:
check-repo-files:
name: Check repo files
runs-on: ubuntu-latest
outputs:
pythonChanges: ${{ steps.path_filter.outputs.pythonChanges }}
buildChanges: ${{ steps.path_filter.outputs.buildChanges }}
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v2
- name: Check affected files
uses: dorny/paths-filter@v2
id: path_filter
with:
filters: |
pythonChanges:
- 'src/**'
- 'tests/**'
- 'pyproject.toml'
- 'setup.py'
buildChanges:
- 'src/**'
- 'frontend/**'
- 'pyproject.toml'
- 'setup.py'
- 'docker/**'
- '.dockerignore'
18 changes: 0 additions & 18 deletions .github/workflows/link-2-teamwork.yml

This file was deleted.

Loading

0 comments on commit 8358418

Please sign in to comment.