Skip to content

update deploy things #15

update deploy things

update deploy things #15

Workflow file for this run

name: GH Actions CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: "${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}"
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
unittests:
if: "github.repository == 'MDAnalysis/mda-xdrlib'"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-rc.2"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install deps
run: |
python -m pip install wheel coverage
- name: install package
run: |
python -m pip install -e .
- name: run tests
run: |
coverage run -m unittest discover
coverage xml
- name: test imports
working-directory: ../
run: |
python -Ic "from mda_xdrlib import xdrlib"
- uses: codecov/codecov-action@v3
with:
files: coverage.xml
fail_ci_if_error: true
verbose: true