Update PR template. #26
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: oldest | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build: | |
name: Build and run tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-22.04"] | |
python-version: ["3.9"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
activate-environment: test-environment | |
python-version: ${{ matrix.python-version }} | |
channels: conda-forge | |
- name: Install basic dependencies | |
run: | | |
conda install -q -y coverage cython=0.29.* matplotlib=3.5.* pytest pytest-cov numpy=1.21.* pythreejs sympy=1.9.* scipy=1.8.* | |
- name: Test with pytest | |
run: pytest -cov . | |
- name: Test installation of PyDy | |
run: python setup.py install |