Skip to content

Commit 17a349f

Browse files
committed
Fix test workflows
1 parent 7644828 commit 17a349f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ name: Tests
22

33
on:
44
push:
5-
branches: '*'
5+
branches:
6+
- '**'
67
pull_request:
7-
branches: main
8-
# Run every day at midnight PST (0800 UTC)
9-
# https://crontab.guru/#0_8_*_*_*
10-
schedule:
11-
- cron: '0 8 * * *'
8+
branches:
9+
- main
1210
workflow_dispatch:
1311

1412
jobs:
@@ -184,11 +182,13 @@ jobs:
184182
- name: localstack
185183
run: |
186184
curl 'http://localstack:4566/health'
187-
pip install awscli-local[ver1]
185+
python3 -m venv /tmp/venv
186+
. /tmp/venv/bin/activate
187+
pip install --no-cache-dir awscli-local[ver1]
188188
aws configure set aws_access_key_id testkey
189189
aws configure set aws_secret_access_key testsecret
190190
aws configure set default.region us-east-1
191-
aws s3 mb s3://test-bucket --endpoint-url=http://localstack:4566
191+
aws --endpoint-url=http://localstack:4566 s3 mb s3://test-bucket
192192
- name: rust
193193
uses: actions-rs/toolchain@v1
194194
with:

0 commit comments

Comments
 (0)