-
Notifications
You must be signed in to change notification settings - Fork 648
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
Add production tarball pypi builds to cron & ensure use of correct compiler [Issue #4223] #4240
Changes from 2 commits
70bae35
539b8b4
f0efe47
adef56b
a8950c7
4254151
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ on: | |
schedule: | ||
# 3 am Tuesdays and Fridays | ||
- cron: "0 3 * * 2,5" | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
concurrency: | ||
# Probably overly cautious group naming. | ||
|
@@ -211,16 +214,21 @@ jobs: | |
conda-latest-release: | ||
# A set of runner to check that the latest conda release works as expected | ||
if: "github.repository == 'MDAnalysis/mdanalysis'" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu, macos] | ||
python-version: ["3.9", "3.10", "3.11"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: setup_os | ||
uses: ./.github/actions/setup-os | ||
with: | ||
os-type: ${{ matrix.os }} | ||
|
||
- name: setup_micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
|
@@ -253,22 +261,33 @@ jobs: | |
pypi-latest-release: | ||
# A set of runner to check that the latest conda release works as expected | ||
if: "github.repository == 'MDAnalysis/mdanalysis'" | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu, macos, windows] | ||
python-version: ["3.9", "3.10", "3.11"] | ||
wheels: ['true', 'false'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For review context - we want to try to see what happens if you build either from the tarball or wheels, hence the need for this matrix entry. |
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: setup_os | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a fancy action for just setting flags like CXX properly. |
||
uses: ./.github/actions/setup-os | ||
with: | ||
os-type: ${{ matrix.os }} | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: install_mdanalysis | ||
shell: bash | ||
run: | | ||
pip install mdanalysis mdanalysistests pytest-xdist pytest-timeout "gsd<3.0" | ||
if [ "${{ matrix.wheels }}" == "false" ]; then | ||
INSTALL_FLAGS="--no-binary -vvv" | ||
fi | ||
pip install ${INSTALL_FLAGS} mdanalysis mdanalysistests pytest-xdist pytest-timeout "gsd<3.0" | ||
IAlibay marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- name: run_tests | ||
shell: bash | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove before merge