mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
Renamed workflow tests
This commit is contained in:
parent
94706803b0
commit
a477f0ca77
@ -1,11 +1,11 @@
|
||||
name: civet_32-bit
|
||||
name: Python Tests 32-bit
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/**'
|
||||
- '!.github/workflows/test_civet_32.yml'
|
||||
- '!.github/workflows/python_tests_32.yml'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
glibc.i686 glibc-devel.i686 udunits2 udunits2-devel gtest-devel.i686
|
||||
java-11-openjdk java-11-openjdk-devel expat-devel.i686
|
||||
which gcc-gfortran git wget gsl-devel gtest-devel gsl-devel.i686
|
||||
maven udunits2 udunits2-devel zip
|
||||
maven udunits2 udunits2-devel zip python3-tkinter xorg-x11-server-Xvfb
|
||||
- name: Symlink python
|
||||
run: |
|
||||
cd /usr/lib
|
@ -1,11 +1,11 @@
|
||||
name: Civet_Linux
|
||||
name: Python Tests Linux
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/**'
|
||||
- '!.github/workflows/test_civet_linux.yml'
|
||||
- '!.github/workflows/python_tests_linux.yml'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@ -43,7 +43,7 @@ jobs:
|
||||
#-------- Debian-based Dependencies ----------------
|
||||
- cfg: { arch: debian }
|
||||
pkg_mgr: apt-get
|
||||
conf_pkg: apt-get update
|
||||
conf_pkg: DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y tzdata
|
||||
arch_deps: >-
|
||||
swig
|
||||
curl
|
||||
@ -60,8 +60,10 @@ jobs:
|
||||
libudunits2-dev
|
||||
libgtest-dev
|
||||
python3
|
||||
python3-tk
|
||||
python3-venv
|
||||
python3-dev
|
||||
xvfb
|
||||
install_gtest: cd /usr/src/gtest && cmake . && make && cp libgtest* /usr/lib/
|
||||
#-------- RHEL Dependencies ----------------
|
||||
- cfg: { arch: rhel }
|
||||
@ -84,6 +86,8 @@ jobs:
|
||||
zlib-devel
|
||||
gtest-devel
|
||||
python3-devel
|
||||
python3-tkinter
|
||||
xorg-x11-server-Xvfb
|
||||
#-------- Ubuntu Only Dependencies ----------------
|
||||
- cfg: { os: ubuntu }
|
||||
os_deps: >-
|
||||
@ -179,4 +183,4 @@ jobs:
|
||||
. .venv/bin/activate
|
||||
./run_tests.py
|
||||
env:
|
||||
TRICK_HOME: "${{ github.workspace }}"
|
||||
TRICK_HOME: "${{ github.workspace }}"
|
@ -1,11 +1,11 @@
|
||||
name: Civet_macOS
|
||||
name: Python Tests MacOS
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/**'
|
||||
- '!.github/workflows/test_civet_macos.yml'
|
||||
- '!.github/workflows/python_tests_macos.yml'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
run: |
|
||||
# sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target /
|
||||
brew install --cask xquartz
|
||||
brew install llvm@11 swig udunits openmotif maven
|
||||
brew install llvm@11 swig udunits openmotif maven python-tk
|
||||
brew link llvm llvm@11
|
||||
- name: Create testing environment
|
||||
run: |
|
||||
@ -46,10 +46,8 @@ jobs:
|
||||
make
|
||||
- name: Run Civet Tests
|
||||
run: |
|
||||
cd share/trick/pymods/trick/
|
||||
. .venv/bin/activate
|
||||
./run_tests.py
|
||||
cd share/trick/pymods/trick/
|
||||
. .venv/bin/activate
|
||||
./run_tests.py
|
||||
env:
|
||||
TRICK_HOME: "${{ github.workspace }}"
|
||||
|
||||
|
||||
TRICK_HOME: "${{ github.workspace }}"
|
Loading…
Reference in New Issue
Block a user