File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PyCEL CI
2+ run-name : Workflow started by ${{ github.actor }}.
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ pull_request :
8+ branches :
9+ - ' main'
10+
11+ # Cancel previous workflows on the PR when there are multiple fast commits.
12+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
13+ concurrency :
14+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
15+ cancel-in-progress : true
16+
17+ jobs :
18+ Bazel-Tests :
19+ runs-on : ubuntu-latest
20+ timeout-minutes : 30
21+ steps :
22+ - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
23+ - run : echo "🐧 Job is running on a ${{ runner.os }} server!"
24+ - run : echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
25+ - name : Check out repository code
26+ uses : actions/checkout@v6
27+ - name : Setup Bazel
28+ uses : bazel-contrib/setup-bazel@0.15.0
29+ with :
30+ # Avoid downloading Bazel every time.
31+ bazelisk-cache : true
32+ # Store build cache per workflow.
33+ disk-cache : ${{ github.workflow }}
34+ # Share repository cache between workflows.
35+ repository-cache : true
36+ - name : Bazel Output Version
37+ run : bazelisk --version
38+ - name : Build everything
39+ run : bazel build ...
40+ - name : Bazel Test
41+ run : bazelisk test ... --test_output=errors
You can’t perform that action at this time.
0 commit comments