Changed macOS version + Added fail-fast property to matrix strategy #6
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: e2etest | |
on: | |
pull_request: | |
branches: [ automate-tests-merge ] | |
push: | |
branches: [ automate-tests-actions, automate-tests-merge ] | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '5 4 * * *' | |
jobs: | |
pull-and-run-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [macos-latest] | |
os: [ubuntu-latest, macos-latest-large] | |
steps: | |
- name: Setup Docker on macOS using Colima, Lima-VM, and Homebrew. | |
id: docker-install | |
if: matrix.os == 'macos-latest' | |
uses: douglascamata/setup-docker-macos-action@v1-alpha # Uses an action in the root directory | |
- name: Verify install for both macOS and Ubuntu | |
id: docker-verify | |
shell: bash | |
run: | | |
docker --version | |
docker compose version | |
if [ "$RUNNER_OS" == "macOS" ]; then | |
colima --version | |
mkdir -p /var/folders | |
fi | |
- name: Download and launch automated-testing.sh | |
id: curl-download-and-launch-automated-testing | |
shell: bash | |
timeout-minutes: 30 | |
run: | | |
curl https://raw.githubusercontent.com/everest/everest-demo/main/demo-automated-testing.sh | bash | |
# curl https://raw.githubusercontent.com/everest/everest-demo/main/demo-iso15118-2-ac-plus-ocpp201.sh | bash | |