From f19ff23340f1f4621b638f7a110f139e04356a75 Mon Sep 17 00:00:00 2001 From: Andreas Salhus Bakseter <141913422+baksetercx@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:56:20 +0200 Subject: [PATCH] Test ARC container job --- .github/workflows/arc-container-test.yml | 33 ++++++++++++++++++++++++ .github/workflows/check-format.yml | 1 + .github/workflows/test-actions.yml | 2 -- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/arc-container-test.yml diff --git a/.github/workflows/arc-container-test.yml b/.github/workflows/arc-container-test.yml new file mode 100644 index 0000000..f4487ad --- /dev/null +++ b/.github/workflows/arc-container-test.yml @@ -0,0 +1,33 @@ +name: ARC testing +on: + pull_request: + branches: [trunk] + +jobs: + arc-container-test-job: + name: ARC container test job + runs-on: 3lvia-runner-aks + container: + image: debian:latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run tests + run: | + echo "Running tests..." + sleep 10 + echo "Tests completed" + + arc-no-container-test-job: + name: ARC no container test job + runs-on: 3lvia-runner-aks + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run tests + run: | + echo "Running tests..." + sleep 10 + echo "Tests completed" diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml index f7389a9..fc325d0 100644 --- a/.github/workflows/check-format.yml +++ b/.github/workflows/check-format.yml @@ -6,6 +6,7 @@ on: jobs: prettier_check: + if: false name: 'Prettier check' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml index 19928b3..c753853 100644 --- a/.github/workflows/test-actions.yml +++ b/.github/workflows/test-actions.yml @@ -3,8 +3,6 @@ name: Test actions on: push: branches: [trunk] - pull_request: - branches: [trunk] env: APPLICATION_NAME: 'demo-api'