Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasHedEng committed Jul 2, 2024
1 parent 3169b41 commit ce56ec2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .buildkite/install-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,4 @@ gcloud config set account [email protected]

echo --- Installing dependencies

eval "$(pyenv init --path)"
eval "$(pyenv init -)"

${PDM_COMMAND:1:-1} use ${PYTHON_VERSION:1:-1}
${PDM_COMMAND:1:-1} install --plugins
${PDM_COMMAND:1:-1} install -d -G ci
${PDM_COMMAND:1:-1} torch install cpu
./get-pants.sh
10 changes: 5 additions & 5 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ steps:
steps:
- label: ":package: Validating {{matrix}} packages"
command: |
. ci/init.sh yes
. ci/init.sh
pants package --filter-address-regex='.*@resolve={{matrix}}' emote::
matrix:
Expand All @@ -54,28 +54,28 @@ steps:

- label: ":package: Packaging bases"
command: |
. ci/init.sh yes
. ci/init.sh
pants package --filter-address-regex='-.*@resolve=.*' emote::
<<: *large

- label: ":pants: Validating tailor"
command: |
. ci/init.sh yes
. ci/init.sh
pants tailor --check ::
<<: *small

- label: ":python-black: :isort: Check-and-lint "
command: |
. ci/init.sh yes
. ci/init.sh
pants update-build-files --check lint ::
<<: *small

- label: ":pytest: Run tests"
command: |
. ci/init.sh yes
. ci/init.sh
pants test ::
git fetch origin
pants run ci/coverage.py -- dist/coverage/python/coverage.json > comment.md
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ runs:
- name: Build docs
shell: bash
run: |
. ci/init.sh no
. ci/init.sh
echo "[+] DBG" && which dot
pants package //docs:book
1 change: 1 addition & 0 deletions ci/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -euxo pipefail

if [[ ! -v "GITHUB_ACTIONS" ]]; then
echo "[+] Installing system dependencies"
apt update
apt install -y build-essential \
libssl-dev \
Expand Down

0 comments on commit ce56ec2

Please sign in to comment.