Skip to content

Commit

Permalink
Update install_and_test.yml: ./create_test_files.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-voelk committed Sep 26, 2024
1 parent e6361bb commit 7d627b6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# This workflow will setup conda, create a virtual environment with required packages and dependencies,
# execute script utils/create_test_files.py,
# and run tests with pytest

name: Install and run tests

on:
push:
branches: [ "dev" ]
branches: [ "main", "dev" ]
pull_request:
branches: [ "dev" ]
branches: [ "main", "dev" ]

permissions:
contents: read
Expand Down Expand Up @@ -37,6 +38,11 @@ jobs:
run: |
conda info
conda list
- name: Create test files
run: |
cd utils/
./create_test_files.py
cd ..
- name: Test with pytest
run: |
cd tests/
Expand Down

0 comments on commit 7d627b6

Please sign in to comment.