Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix manual trigger of automated tests #131

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/CI_pytest_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,23 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
# Checkout the master branch from the repository
# Checkout the master branch if this is a scheduled test
# The idea for this Action is to spot issues with new dependency versions as soon as they
# are released (and not when we decide to update ampycloud).
- name: Checkout current repository
- name: Checkout current repository (master branch)
if: ${{ github.event_name == 'schedule' }}
uses: actions/checkout@v4
with:
repository: MeteoSwiss/ampycloud
ref: master

# Alternatively, checkout whichever branch was selected by the user upon the manual trigger.
- name: Checkout current repository (custom branch)
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@v4
with:
repository: MeteoSwiss/ampycloud

# Setup python
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
Loading