Skip to content

Update step.yml

Update step.yml #22

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup bitrise
run: |
curl -fL https://github.com/bitrise-io/bitrise/releases/download/2.16.1/bitrise-$(uname -s)-$(uname -m) > /usr/local/bin/bitrise
chmod +x /usr/local/bin/bitrise
bitrise setup
- name: Prepare secrets
run: ruby -rerb -e 'File.write(".bitrise.secrets.yml", ERB.new(File.read(ARGV[0])).result(binding))' .bitrise.secrets.yml.erb
env:
TEST_API_KEY: ${{ secrets.TEST_API_KEY }}
TEST_APP_KEY: ${{ secrets.TEST_APP_KEY }}
- name: Run tests
run: bitrise run test