Skip to content

Update ticsrun.yml

Update ticsrun.yml #59

Workflow file for this run

name: TICS run (script)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/canonical/ticsimg:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.PKGTOKEN }}
steps:
- name: Checkout the project
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update
- name: Build the test project
run: make
- name: Run TICS analysis with the script
run: |
set -x
export TICSAUTHTOKEN="${{ secrets.TICSAUTHTOKEN }}"
make
TICSQServer -project testimage -tmpdir /tmp/tics -branchdir .