Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
idelvall committed Oct 30, 2024
1 parent 83526c3 commit e6b5270
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions .github/workflows/runtime_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,34 +137,33 @@ jobs:
# - 5/5
continue-on-error: true
steps:
- uses: actions/checkout@v4
# - uses: actions/checkout@v4
- name: Install ucacher
run: |
cp .github/ucacher /usr/local/bin/ucacher;
chmod +x /usr/local/bin/ucacher;
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
cache-dependency-path: yarn.lock
- name: Restore cached node_modules
uses: actions/cache@v4
id: node_modules
with:
path: "**/node_modules"
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
- run: yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }}
env:
# ucacher:
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
UCACHER_DB_URI: "${{ secrets.UCACHER_DB_URI }}"
UCACHER_STORAGE: s3://us-west-2/earthly-ucacher-directory--usw2-az1--x-s3
UCACHER_INSTRUMENTER: strace
UCACHER_SHOW_IO: true
FORCE_COLOR: 1
LOG_LEVEL: debug
env;
# - uses: actions/setup-node@v4
# with:
# node-version-file: '.nvmrc'
# cache: yarn
# cache-dependency-path: yarn.lock
# - name: Restore cached node_modules
# uses: actions/cache@v4
# id: node_modules
# with:
# path: "**/node_modules"
# key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
# - run: yarn install --frozen-lockfile
# - run: yarn test ${{ matrix.params }} --ci --shard=${{ matrix.shard }}
# env:
# # ucacher:
# AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
# AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
# UCACHER_DB_URI: "${{ secrets.UCACHER_DB_URI }}"
# UCACHER_STORAGE: s3://us-west-2/earthly-ucacher-directory--usw2-az1--x-s3
# UCACHER_INSTRUMENTER: strace
# UCACHER_SHOW_IO: true
# FORCE_COLOR: 1
# LOG_LEVEL: debug

# ----- BUILD -----
# build_and_lint:
Expand Down

0 comments on commit e6b5270

Please sign in to comment.