Skip to content

Commit

Permalink
simplification of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacioct committed May 2, 2024
1 parent 8ecc765 commit 1aa8b9e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,36 @@ jobs:
- name: 🪑 Wait for argilla-quickstart
run: |
while ! curl -XGET http://localhost:6900/api/_status; do sleep 30; done
- name: 🪑 Check workspaces
run: |
curl -XGET http://localhost:6900/api/workspaces
- name: Checkout Code 🛎
- name: 🛎 Checkout Code
uses: actions/checkout@v3
- name: Setup Conda Env 🐍
- name: 🐍 Setup Conda Env
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: argilla
- name: Get date for conda cache
- name: 🐍 Get date for Conda cache
id: get-date
run: echo "::set-output name=today::$(/bin/date -u '+%Y%m%d')"
shell: bash
- name: Cache Conda env
- name: 🐍 Cache Conda env
uses: actions/cache@v3
id: cache
with:
path: ${{ env.CONDA }}/envs
key: conda-${{ runner.os }}--${{ runner.arch }}--${{ steps.get-date.outputs.today }}-${{ hashFiles('environment_dev.yml') }}-${{ env.CACHE_NUMBER }}
- name: Cache pip 👜
- name: 👜 Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ env.CACHE_NUMBER }}-${{ hashFiles('pyproject.toml') }}
- name: Netsat
- name: 🛜 Netsat
run: |
apt update && apt install sudo
sudo apt install net-tools
netstat -lt
- name: Install pytest
- name: 🗃️ Install pytest
run: |
pip install pytest
pip install -e .
Expand All @@ -65,7 +62,7 @@ jobs:

# - name: Info
# run: argilla info
- name: Run end2end examples 📈
- name: 📈 Run end2end examples
env:
ARGILLA_ENABLE_TELEMETRY: 0
run: |
Expand Down

0 comments on commit 1aa8b9e

Please sign in to comment.