Skip to content

Commit 385ac7d

Browse files
committed
Changed push to bucket only tests.
1 parent 05d7a6f commit 385ac7d

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed
Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Push - Matrix Tests
1+
name: S3 Bucket Test
22

33
on:
44
push:
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest, macos-latest, windows-latest] # due to node-gyp & node compatibility issues, windows 2022 won't work for all node versions
12+
os: [ubuntu-latest, macos-latest, windows-latest]
1313
node: [18, 20, 22]
1414
env:
1515
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -20,33 +20,22 @@ jobs:
2020

2121
steps:
2222
- name: Checkout ${{ github.ref }}
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424

2525
- name: Setup node ${{ matrix.node }}
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: ${{ matrix.node }}
2929

3030
- name: NPM Install
3131
run: npm install
3232

33-
- name: Configure Windows 2019
34-
run: |
35-
echo "/c/Program Files/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin/" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
36-
npm config set msvs_version 2019
37-
if: ${{ matrix.os == 'windows-2019' }}
38-
3933
- name: Show Environment Info
4034
run: |
4135
printenv
4236
node --version
4337
npm --version
4438
45-
- name: Run All Tests (against mock)
46-
run: npm test
47-
env:
48-
node_pre_gyp_mock_s3 : true
49-
5039
- name: Run S3 Tests (against ${{ env.S3_BUCKET }} bucket)
5140
run: |
5241
npm run bucket ${{ env.S3_BUCKET }}

0 commit comments

Comments
 (0)