Skip to content

Commit

Permalink
Update test_lalsuite_dev.yml
Browse files Browse the repository at this point in the history
- bump checkout and setup action versions
- no need to duplicate flake8 and black runs here
  • Loading branch information
dbkeitel authored Jun 28, 2024
1 parent 0811a03 commit 24b13a9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/test_lalsuite_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,16 @@ jobs:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and development dependencies
run: |
python -m pip install --upgrade pip
pip install -e ${GITHUB_WORKSPACE}[style,test,wheel]
pip install --upgrade --pre lalsuite[lalpulsar]
- name: Linting with flake8
run: |
flake8 --count --statistics .
- name: Style check with black
run: |
black --check --diff .
- name: Test with pytest
run: |
(cd .. && pytest --durations=0 $GITHUB_WORKSPACE/tests/ --log-file=$GITHUB_WORKSPACE/tests.log)

0 comments on commit 24b13a9

Please sign in to comment.