Skip to content

Commit

Permalink
Replace manual tests in CI workflows with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi committed Oct 10, 2023
1 parent 8fb4277 commit a0929d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,4 @@ jobs:
python -m autoeis install
- name: "Run tests"
run: |
# Test package is importable
python -c 'import autoeis as ae; print("From Python!")'
# Test Julia is accessible
python -c 'import autoeis as ae; Main = ae.julia_helpers.init_julia(); Main.println("From Julia!")'
# Test Julia backend is importable
python -c 'import autoeis as ae; ec = ae.julia_helpers.import_backend(); print(ec)'
pytest .
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,4 @@ jobs:
python -m autoeis install
- name: "Run tests"
run: |
# Test package is importable
python -c 'import autoeis as ae; print("From Python!")'
# Test Julia is accessible
python -c 'import autoeis as ae; Main = ae.julia_helpers.init_julia(); Main.println("From Julia!")'
# Test Julia backend is importable
python -c 'import autoeis as ae; ec = ae.julia_helpers.import_backend(); print(ec)'
pytest .

0 comments on commit a0929d7

Please sign in to comment.