forked from green-coding-solutions/green-metrics-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 893 Bytes
/
Copy pathtests-vm-mac.yml
File metadata and controls
30 lines (27 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Mac Tests
run-name: Mac tests
on:
# schedule:
# - cron: '0 0 * * 7'
workflow_dispatch:
jobs:
run-tests-main:
runs-on: macos-latest
timeout-minutes: 30
steps:
- id: check-date
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: green-coding-solutions/eco-ci-activity-checker@v1
with:
branch: 'main'
- if: ${{ github.event_name == 'workflow_dispatch' || steps.check-date.outputs.should_run == 'true'}}
name: 'Checkout repository'
uses: actions/checkout@v7
with:
ref: ${{ github.ref }}
submodules: 'false'
- if: ${{ github.event_name == 'workflow_dispatch' || steps.check-date.outputs.should_run == 'true'}}
name: 'Setup, Run, and Teardown Tests'
uses: ./.github/actions/gmt-pytest
with:
github-token: ${{ secrets.GITHUB_TOKEN }}