Skip to content

Commit

Permalink
Merge pull request #392 from nasa/391-convert-codecov-token-to-variable
Browse files Browse the repository at this point in the history
391 convert codecov token to variable
  • Loading branch information
Donnie-Ice authored Jan 23, 2025
2 parents 4c50ad3 + ca3063f commit e4132f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CryptoLib

global_env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a

on:
pull_request:
branches: [ main, dev ]
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -103,7 +106,7 @@ jobs:
# - name: Upload
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
# CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
# with:
# files: 'coverage/*.c.gcov'
# verbose: true
Expand Down Expand Up @@ -156,7 +159,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -210,7 +213,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -244,7 +247,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
2 changes: 1 addition & 1 deletion support/standalone/standalone.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extern "C"
#define CRYPTO_MAX_INPUT_TOKENS 32
#define CRYPTO_MAX_INPUT_TOKEN_SIZE 64

#define CRYPTO_CMD_UNKNOWN -1
#define CRYPTO_CMD_UNKNOWN (-1)
#define CRYPTO_CMD_HELP 0
#define CRYPTO_CMD_EXIT 1
#define CRYPTO_CMD_NOOP 2
Expand Down

0 comments on commit e4132f0

Please sign in to comment.