Skip to content

Commit

Permalink
[test] Run hook on branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
S1eGa committed Feb 26, 2024
1 parent a39e633 commit 541b213
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 251 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build-in-base-env.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: Build in UTBot base_env
# name: Build in UTBot base_env

on:
pull_request:
branches: [utbot-main]
push:
branches: [utbot-main]
# on:
# pull_request:
# branches: [utbot-main]
# push:
# branches: [utbot-main]

jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/unittestbot/utbotcpp/base_env:02-02-2022
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run build.sh
run: |
./build.sh
- name: Run tests
run: |
cd build && ninja check
# jobs:
# build:
# runs-on: ubuntu-latest
# container:
# image: ghcr.io/unittestbot/utbotcpp/base_env:02-02-2022
# credentials:
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Run build.sh
# run: |
# ./build.sh
# - name: Run tests
# run: |
# cd build && ninja check
Loading

0 comments on commit 541b213

Please sign in to comment.