fix(ci): workaround: fix test on player as test on mac 14 arm64 keeps… #429
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: Run unit tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set API key | |
run: | | |
sed -i -e "s/INTEGRATION_TESTS_API_KEY/${INTEGRATION_TESTS_API_KEY}/" ./Tests/ApiVideoPlayerTests/Parameters.swift | |
env: | |
INTEGRATION_TESTS_API_KEY: ${{ secrets.INTEGRATION_TESTS_API_TOKEN }} | |
- name: Running tests | |
run: swift test |