Increasing filename size to 1024 bytes. #85
Workflow file for this run
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: CI | |
on: push | |
jobs: | |
testing: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- python: '3.6' | |
- python: '3.7' | |
- python: '3.8' | |
- python: '3.9' | |
- python: '3.10' | |
- python: '3.11' | |
#- python: '3.12' # broken - no distutils - test again with SpacePy >= 0.5.0 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Get packages | |
run: | | |
python3 --version | |
sudo apt-get install gfortran | |
sudo apt-get install libhdf5-dev | |
- name: Install | |
run: | | |
( cd libcdf && make build && sudo make install ) | |
( cd qdipole && ./configure && make build && sudo make install && make test ) | |
pip3 install --upgrade pip | |
pip3 install wheel | |
pip3 install scipy | |
pip3 install spacepy --no-build-isolation | |
pip3 install ./eoxmagmod/ | |
- name: Scripts | |
run: | | |
pip3 list | |
mkdir -p ./test && cd ./test | |
pip3 show -f eoxmagmod | |
python3 -c 'import eoxmagmod' && python3 -m unittest discover -p '[a-z]*.py' -v eoxmagmod | |
notification: | |
runs-on: ubuntu-20.04 | |
if: ${{ always() }} | |
needs: testing | |
steps: | |
# send Slack notifications to the eox organization | |
- name: action-slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ needs.testing.result }} | |
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
if: always() |