mirror of
https://github.com/nasa/trick.git
synced 2025-02-01 08:48:25 +00:00
Updated to use actions/checkout action at the v4 branch as well to be consistent with artifacts. It is recommended to use a sepcific version or tag instead of master to ensure stability and predictability.
This commit is contained in:
parent
b20170f074
commit
5ea5393163
2
.github/workflows/alt_linux_distros.yml
vendored
2
.github/workflows/alt_linux_distros.yml
vendored
@ -141,7 +141,7 @@ jobs:
|
||||
- name: Install GTest
|
||||
run: ${{matrix.install_gtest}}
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Configure Trick
|
||||
run: |
|
||||
export MAKEFLAGS=-j`nproc`
|
||||
|
2
.github/workflows/code_coverage.yml
vendored
2
.github/workflows/code_coverage.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
dnf install -y gtest-devel gmock-devel
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Trick
|
||||
run: |
|
||||
|
2
.github/workflows/python_tests_linux.yml
vendored
2
.github/workflows/python_tests_linux.yml
vendored
@ -140,7 +140,7 @@ jobs:
|
||||
- name: Install GTest
|
||||
run: ${{matrix.install_gtest}}
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v4
|
||||
- name: Info after checkout
|
||||
run: |
|
||||
pwd
|
||||
|
2
.github/workflows/python_tests_macos.yml
vendored
2
.github/workflows/python_tests_macos.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v4
|
||||
- name: Install python
|
||||
run: |
|
||||
brew install python
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- uses: dorny/test-reporter@v4
|
||||
with:
|
||||
artifact: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # artifact name
|
||||
name: Results_Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # Name of the check run which will be created
|
||||
|
2
.github/workflows/report_linux.yml
vendored
2
.github/workflows/report_linux.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- uses: dorny/test-reporter@v4
|
||||
with:
|
||||
artifact: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # artifact name
|
||||
name: Results_Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # Name of the check run which will be created
|
||||
|
2
.github/workflows/report_macos.yml
vendored
2
.github/workflows/report_macos.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- uses: dorny/test-reporter@v4
|
||||
with:
|
||||
artifact: Trick_macos # artifact name
|
||||
name: Results_Trick_macos # Name of the check run which will be created
|
||||
|
2
.github/workflows/test_32_oracle.yml
vendored
2
.github/workflows/test_32_oracle.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
||||
make
|
||||
make install
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Build Trick
|
||||
run: |
|
||||
export CFLAGS="-m32"
|
||||
|
2
.github/workflows/test_linux.yml
vendored
2
.github/workflows/test_linux.yml
vendored
@ -129,7 +129,7 @@ jobs:
|
||||
- name: Install GTest
|
||||
run: ${{matrix.install_gtest}}
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Configure Trick
|
||||
run: |
|
||||
export MAKEFLAGS=-j`nproc`
|
||||
|
4
.github/workflows/test_linux_py2.yml
vendored
4
.github/workflows/test_linux_py2.yml
vendored
@ -129,7 +129,7 @@ jobs:
|
||||
- name: Install GTest
|
||||
run: ${{matrix.install_gtest}}
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v4
|
||||
- name: Configure Trick
|
||||
run: |
|
||||
export MAKEFLAGS=-j`nproc`
|
||||
@ -145,7 +145,7 @@ jobs:
|
||||
python3 -m venv .venv && . .venv/bin/activate && pip3 install -r requirements.txt
|
||||
cd ../../../; make test
|
||||
- name: Upload Tests
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
uses: actions/upload-artifact@v4
|
||||
if: success() || failure() # run this step even if previous step failed
|
||||
with:
|
||||
name: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}}
|
||||
|
2
.github/workflows/test_macos.yml
vendored
2
.github/workflows/test_macos.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Install gtest
|
||||
run: |
|
||||
brew install googletest
|
||||
|
2
.github/workflows/trickops.yml
vendored
2
.github/workflows/trickops.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
source ../.venv/bin/activate
|
||||
export PATH="/tmp/koviz-master/bin:${PATH}"
|
||||
./run_tests.py
|
||||
- uses: actions/upload-artifact@v3.0.0
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: doctests
|
||||
|
Loading…
x
Reference in New Issue
Block a user