Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed May 31, 2024
1 parent 6bede77 commit 42a3810
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/bottest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ on:
issue_comment:
types: [created]

name: Bot test
name: Automated bot test

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}

jobs:
benchmark:
name: run 30-bot bot test
autobottest:
name: run bot test (30 bots)
runs-on: bots-runner
permissions: write-all
# filter for a comment containing 'benchmarks please'
Expand Down Expand Up @@ -65,10 +65,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ env.PR_REF || github.ref }}
# if we're on master we want to know what the sha of HEAD~1 is so
# that we can compare results from it to HEAD (in the "Fetch markdown
# summary PR" step). otherwise, we can use a fully shallow checkout
fetch-depth: ${{ env.PR_NUMBER && 1 || 2 }}
fetch-depth: 1

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -100,7 +97,7 @@ jobs:
cp ~/BitCraftBots/results.zip bottest-results/$RESULTS_NAME.zip
- name: Upload bot test results to DO spaces
uses: shallwefootball/s3-upload-action@master
uses: clockworklabs/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
Expand Down

1 comment on commit 42a3810

@github-actions
Copy link

@github-actions github-actions bot commented on 42a3810 May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bot test results

Test results are stored on DO Spaces here. You'll need to log in
(we keep these secret).

The results of this test are named pr--42a38109f9205762ba219ac2ee133e6017629e8c.zip.

Please sign in to comment.