Renamed workflow tests

This commit is contained in:
Caleb Herpin 2021-08-05 12:02:56 -05:00
parent 94706803b0
commit a477f0ca77
3 changed files with 18 additions and 16 deletions

View File

@ -1,11 +1,11 @@
name: civet_32-bit name: Python Tests 32-bit
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
- '.github/workflows/**' - '.github/workflows/**'
- '!.github/workflows/test_civet_32.yml' - '!.github/workflows/python_tests_32.yml'
pull_request: pull_request:
jobs: jobs:
@ -39,7 +39,7 @@ jobs:
glibc.i686 glibc-devel.i686 udunits2 udunits2-devel gtest-devel.i686 glibc.i686 glibc-devel.i686 udunits2 udunits2-devel gtest-devel.i686
java-11-openjdk java-11-openjdk-devel expat-devel.i686 java-11-openjdk java-11-openjdk-devel expat-devel.i686
which gcc-gfortran git wget gsl-devel gtest-devel gsl-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 - name: Symlink python
run: | run: |
cd /usr/lib cd /usr/lib

View File

@ -1,11 +1,11 @@
name: Civet_Linux name: Python Tests Linux
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
- '.github/workflows/**' - '.github/workflows/**'
- '!.github/workflows/test_civet_linux.yml' - '!.github/workflows/python_tests_linux.yml'
pull_request: pull_request:
jobs: jobs:
@ -43,7 +43,7 @@ jobs:
#-------- Debian-based Dependencies ---------------- #-------- Debian-based Dependencies ----------------
- cfg: { arch: debian } - cfg: { arch: debian }
pkg_mgr: apt-get pkg_mgr: apt-get
conf_pkg: apt-get update conf_pkg: DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y tzdata
arch_deps: >- arch_deps: >-
swig swig
curl curl
@ -60,8 +60,10 @@ jobs:
libudunits2-dev libudunits2-dev
libgtest-dev libgtest-dev
python3 python3
python3-tk
python3-venv python3-venv
python3-dev python3-dev
xvfb
install_gtest: cd /usr/src/gtest && cmake . && make && cp libgtest* /usr/lib/ install_gtest: cd /usr/src/gtest && cmake . && make && cp libgtest* /usr/lib/
#-------- RHEL Dependencies ---------------- #-------- RHEL Dependencies ----------------
- cfg: { arch: rhel } - cfg: { arch: rhel }
@ -84,6 +86,8 @@ jobs:
zlib-devel zlib-devel
gtest-devel gtest-devel
python3-devel python3-devel
python3-tkinter
xorg-x11-server-Xvfb
#-------- Ubuntu Only Dependencies ---------------- #-------- Ubuntu Only Dependencies ----------------
- cfg: { os: ubuntu } - cfg: { os: ubuntu }
os_deps: >- os_deps: >-
@ -179,4 +183,4 @@ jobs:
. .venv/bin/activate . .venv/bin/activate
./run_tests.py ./run_tests.py
env: env:
TRICK_HOME: "${{ github.workspace }}" TRICK_HOME: "${{ github.workspace }}"

View File

@ -1,11 +1,11 @@
name: Civet_macOS name: Python Tests MacOS
on: on:
push: push:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
- '.github/workflows/**' - '.github/workflows/**'
- '!.github/workflows/test_civet_macos.yml' - '!.github/workflows/python_tests_macos.yml'
pull_request: pull_request:
jobs: jobs:
@ -33,7 +33,7 @@ jobs:
run: | run: |
# sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target / # sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target /
brew install --cask xquartz 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 brew link llvm llvm@11
- name: Create testing environment - name: Create testing environment
run: | run: |
@ -46,10 +46,8 @@ jobs:
make make
- name: Run Civet Tests - name: Run Civet Tests
run: | run: |
cd share/trick/pymods/trick/ cd share/trick/pymods/trick/
. .venv/bin/activate . .venv/bin/activate
./run_tests.py ./run_tests.py
env: env:
TRICK_HOME: "${{ github.workspace }}" TRICK_HOME: "${{ github.workspace }}"