Skip to content

Commit

Permalink
Update test.yaml
Browse files Browse the repository at this point in the history
Better logic
  • Loading branch information
alanbchristie authored Jun 19, 2024
1 parent 57ee6d0 commit f0adbc6
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ jobs:
pip install .[dev]
pre-commit run --all-files
command-help:
command-execution:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
needs:
- static-analysis
steps:
Expand All @@ -48,29 +53,17 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Test command help
- name: Install
run: |
pip install --upgrade pip
pip install .
- name: Test command help
run: |
python -m xchemalign.copier -h
python -m xchemalign.collator -h
python -m xchemalign.aligner -h
test-data:
runs-on: ubuntu-latest
needs:
- command-help
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Test test-data config
- name: Test test-data config_1
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

0 comments on commit f0adbc6

Please sign in to comment.