Skip to content

Commit

Permalink
Creates tests-only branch
Browse files Browse the repository at this point in the history
- Removes all source code
- Pip-installs latest pip version of UEDGE for testing
- Moves tests to root
  • Loading branch information
holm10 committed Dec 11, 2023
1 parent 7d53322 commit 399e2ae
Show file tree
Hide file tree
Showing 1,002 changed files with 13 additions and 187,547 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
python-version: [3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install pip dependencies
Expand All @@ -25,11 +25,21 @@ jobs:
python -m pip install forthon mppl numpy h5py
python -m pip install flake8
python -m pip install pytest-isolate pytest-xdist
- name: Checkout develop branch
uses: actions/checkout@v4
with:
ref: develop
repository: LLNL/UEDGE
- name: Build UEDGE
run: |
python setup.py build
python setup.py install
- name: Return to pytests branch
uses: actions/checkout@v4
with:
ref: pytests
repository: LLNL/UEDGE
- name: Test with pytest
run: |
# Create a clean UEDGE instance for every test
pytest --isolate --tb=native pytests/pytests
pytest --isolate --tb=native pytests
52 changes: 0 additions & 52 deletions Configure

This file was deleted.

24 changes: 0 additions & 24 deletions Configure.sys

This file was deleted.

1 change: 0 additions & 1 deletion Dirlist

This file was deleted.

55 changes: 0 additions & 55 deletions INSTALL

This file was deleted.

Loading

0 comments on commit 399e2ae

Please sign in to comment.