Skip to content

Commit

Permalink
Update test.yaml
Browse files Browse the repository at this point in the history
- Use of matrix for python versions
- Attempt to fix test command
  • Loading branch information
alanbchristie authored Jun 19, 2024
1 parent 4fd0246 commit 57ee6d0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ on:
jobs:
static-analysis:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Pre-commit check
run: |
pip install --upgrade pip
Expand All @@ -42,7 +47,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Test command help
run: |
pip install --upgrade pip
Expand All @@ -61,11 +66,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Test test-data config
run: |
pip install --upgrade pip
pip install .
mkdir -p test-data/outputs/upload_1
python -m xchemalign.collator -c test-data/config_1.yaml
python -m xchemalign.aligner -d test-data/outputs/upload_1 -x test-data/xtalforms.yaml
python -m xchemalign.aligner -d test-data/outputs/upload_1

0 comments on commit 57ee6d0

Please sign in to comment.