ci: check dialyzer with option plt #455
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# CI | |
name: Elixir CI (HttpDownloader) | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: [ "develop", "check_by_SHR" ] | |
paths: | |
- 'utilities/http_downloader/**' | |
- '!benchmarks/onnx_to_axon_bench/**' | |
- '!benchmarks/distributed_computing_bench/**' | |
- '!.github/workflows/*' | |
- '.github/workflows/ci_http_downloader.yml' | |
- '.github/workflows/reusable_ci.yml' | |
- '.github/actions/matrix_check.yml' | |
- '.github/actions/matrix_test.yml' | |
- '!**/*.md' | |
- '!**/LICENSE*' | |
- '!*.md' | |
- '!*.cff' | |
- '!LICENSE*' | |
- '!publish.exs' | |
push: | |
branches: [ "main", "develop", "check_by_SHR" ] | |
paths: | |
- 'utilities/http_downloader/**' | |
- '!benchmarks/onnx_to_axon_bench/**' | |
- '!benchmarks/distributed_computing_bench/**' | |
- '!.github/workflows/*' | |
- '.github/workflows/ci_http_downloader.yml' | |
- '.github/workflows/reusable_ci.yml' | |
- '.github/actions/matrix_check.yml' | |
- '.github/actions/matrix_test.yml' | |
- '!**/*.md' | |
- '!**/LICENSE*' | |
- '!*.md' | |
- '!*.cff' | |
- '!LICENSE*' | |
- '!publish.exs' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
constants: | |
name: Constants | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
runs-on: ubuntu-22.04 | |
outputs: | |
matrix-for-check: ${{ steps.set-matrix-for-check.outputs.matrix }} | |
matrix-test: ${{ steps.set-matrix-test.outputs.matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- id: set-matrix-for-check | |
run: | | |
json=$(cat ${{ github.workspace }}/.github/actions/matrix_check.yml| ruby -ryaml -rjson -e 'puts YAML.load(STDIN).to_json') | |
echo "matrix=${json}" >> $GITHUB_OUTPUT | |
- id: set-matrix-test | |
run: | | |
json=$(cat ${{ github.workspace }}/.github/actions/matrix_test.yml | ruby -ryaml -rjson -e 'puts YAML.load(STDIN).to_json') | |
echo "matrix=${json}" >> $GITHUB_OUTPUT | |
check_http_downloader: | |
name: Check HttpDownloader | |
needs: constants | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: utilities/http_downloader | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-for-check }} | |
perform-check: true | |
test_ubuntu_22_http_downloader: | |
name: Test HttpDownloader (Ubuntu 22.04) | |
needs: [constants, check_http_downloader] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: utilities/http_downloader | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |
test_ubuntu_24_http_downloader: | |
name: Test HttpDownloader (Ubuntu 24.04) | |
needs: [constants, check_http_downloader] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: utilities/http_downloader | |
os: ubuntu-24.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |
check_onnx_to_axon_bench: | |
name: Check OnnxToAxonBench | |
needs: [constants, check_http_downloader] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/onnx_to_axon_bench | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-for-check }} | |
perform-check: true | |
test_ubuntu_22_onnx_to_axon_bench: | |
name: Test OnnxToAxonBench (Ubuntu 22.04) | |
needs: [constants, check_onnx_to_axon_bench] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/onnx_to_axon_bench | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |
test_ubuntu_24_onnx_to_axon_bench: | |
name: Test OnnxToAxonBench (Ubuntu 24.04) | |
needs: [constants, check_onnx_to_axon_bench] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/onnx_to_axon_bench | |
os: ubuntu-24.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |
check_distributed_computing_bench: | |
name: Check DistributedComputingBench | |
needs: [constants, check_http_downloader] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/distributed_computing_bench | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-for-check }} | |
perform-check: true | |
test_ubuntu_22_distributed_computing_bench: | |
name: Test DistributedComputingBench (Ubuntu 22.04) | |
needs: [constants, check_distributed_computing_bench] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/distributed_computing_bench | |
os: ubuntu-22.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |
test_ubuntu_24_distributed_computing_bench: | |
name: Test DistributedComputingBench (Ubuntu 24.04) | |
needs: [constants, check_distributed_computing_bench] | |
uses: ./.github/workflows/reusable_ci.yml | |
with: | |
working-directory: benchmarks/distributed_computing_bench | |
os: ubuntu-24.04 | |
matrix: ${{ needs.constants.outputs.matrix-test }} | |
perform-check: false | |