add github action for publishing to pypi #15
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: Install and test | |
on: push | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: ['3.7', '3.8', '3.9'] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install parsac | |
run: pip install . | |
- name: Test calibration | |
run: | | |
cd parsac/examples | |
parsac calibration run idealized.xml |