Update and rename test.yml to functional.yml

This commit is contained in:
Rimo
2023-03-03 21:07:12 +08:00
committed by GitHub
parent fe25da5c69
commit a27182c923

View File

@@ -1,22 +1,17 @@
name: "test" name: "functional"
on: on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 2 * * 6'
jobs: jobs:
test: # make sure the action works on a clean machine without building functional:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
version: [1.7.0, 1.7.14, latest] version: [1.7.0, 1.7.14, latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: yizhoumo/setup-ossutil@v1
- uses: ./
with: with:
ossutil-version: ${{ matrix.version }} ossutil-version: ${{ matrix.version }}
endpoint: ${{ secrets.OSS_ENDPOINT }} endpoint: ${{ secrets.OSS_ENDPOINT }}