wip aws-s3 #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
PLZ_CONFIG_PROFILE: ci | |
SEGMENT_DOWNLOAD_TIMEOUT_MINS: "2" | |
permissions: | |
# Grant the ability to checkout the repository | |
contents: read | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-build | |
cancel-in-progress: true | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Cache plz | |
id: cache-plz | |
uses: actions/cache@v3 | |
with: | |
path: .plz-cache | |
key: ${{ runner.os }}-plz | |
- name: Build | |
env: | |
# This uses a public read-only PAT tied to VJftw, please don't abuse! :pray: | |
# See: https://github.com/actions/setup-node/issues/49 for reasons. | |
GITHUB_TOKEN: ${{ secrets.VJFTW_GITHUB_TOKEN }} | |
CONSUMER_JIRA_API_TOKEN: ${{secrets.CONSUMER_JIRA_API_TOKEN}} | |
CONSUMER_JIRA_USER: ${{secrets.CONSUMER_JIRA_USER}} | |
CONSUMER_JIRA_URL: ${{secrets.CONSUMER_JIRA_URL}} | |
run: ./pleasew build -p -v 2 //... | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-test | |
cancel-in-progress: true | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Test | |
run: ./pleasew test //... |