Skip to content

Commit

Permalink
remove testing of nightly from regular build; restore normal pull req…
Browse files Browse the repository at this point in the history
…uest workflow
  • Loading branch information
AndreyMlashkin committed Nov 25, 2024
1 parent 65274b1 commit 60a70c4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 41 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,28 @@ jobs:
needs:
- test-linux-sanitizers
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Post logs to Sig Noz
run: |
ls -l -a
ls -l -a ./result/
pip3 install -r requirements.txt
nix build -L .?#checks.x86_64-linux.all-sanitizers
cat ./result/test-logs/test_errors.txt
export UndefinedBehaviorSanitizer=$(grep UndefinedBehaviorSanitizer result/test-logs/test_errors.txt | wc -l)
export AddressSanitizer=$(grep AddressSanitizer result/test-logs/test_errors.txt | wc -l)
export LeakSanitizer=$(grep LeakSanitizer result/test-logs/test_errors.txt | wc -l)
export OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
ping 172.31.23.196
opentelemetry-instrument \
python3 --version
sudo yum update -y
sudo yum install -y python3-pip
pip3 install -r requirements.txt
/home/ec2-user/.local/bin/opentelemetry-instrument \
--traces_exporter console,otlp \
--metrics_exporter console,otlp \
--logs_exporter console,otlp \
--service_name nightly-build \
python3 ./parse_tests.py
58 changes: 21 additions & 37 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,46 +16,30 @@ concurrency:
cancel-in-progress: true

jobs:
test-linux-sanitizers:
name: Linux Crypto3 Test and sanitize with clang
uses: ./.github/workflows/clang-sanitizers-linux-nix-check.yml
test-linux-gcc:
name: Linux placeholder testing with gcc
uses: ./.github/workflows/gcc-linux-nix-check.yml
if: |
always() && !cancelled()
secrets: inherit

post-telemetry:
name: Post test results in Open Telemetry format
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
needs:
- test-linux-sanitizers
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
test-linux-clang:
name: Linux placeholder testing with clang
uses: ./.github/workflows/clang-linux-nix-check.yml
if: |
always() && !cancelled()
secrets: inherit

- name: Post logs to Sig Noz
run: |
ls -l -a
nix build -L .?#checks.x86_64-linux.all-sanitizers
ls -l -a result/test-logs
cat ./result/test-logs/test_errors.txt
export UndefinedBehaviorSanitizer=$(grep UndefinedBehaviorSanitizer result/test-logs/test_errors.txt | wc -l)
export AddressSanitizer=$(grep AddressSanitizer result/test-logs/test_errors.txt | wc -l)
export LeakSanitizer=$(grep LeakSanitizer result/test-logs/test_errors.txt | wc -l)
ls -l -a
ls -l -a ./result/
export OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
python3 --version
sudo yum update -y
sudo yum install -y python3-pip
pip3 install -r requirements.txt
python3 ./parse_tests.py
ls /home/ec2-user/.local/bin/
/home/ec2-user/.local/bin/opentelemetry-instrument \
--traces_exporter console,otlp \
--metrics_exporter console,otlp \
--logs_exporter console,otlp \
--service_name nightly-build \
python3 ./parse_tests.py
check-proof-producer:
name: Check Proof Producer
uses: ./.github/workflows/check-proof-producer.yml
if: |
always() && !cancelled()
secrets: inherit

verify-circuit-proof:
name: Verify Circuit Proof
uses: ./.github/workflows/verify-circuit-proof.yml
if: |
always() && !cancelled()
secrets: inherit

0 comments on commit 60a70c4

Please sign in to comment.