use ubuntu 22 for 3.7 #90
Workflow file for this run
This file contains hidden or 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: test-pr | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
- test-ci** | |
workflow_dispatch: # Enable workflow to be run manually | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 # Needed for Python 3.7 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set Up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.7" | |
- name: Install daidepp | |
run: | | |
pip install -U pip | |
pip install -e .[dev] | |
- name: Test | |
run: | | |
pytest |