fix: get_git_branch doesnt work on gitlab #98
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
name: Run tests | |
on: [push] | |
jobs: | |
run_tests: | |
name: Run tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Run tests | |
# env: | |
# SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} | |
run: bash ./scripts/run_tests.sh | |
# run_container_tests: | |
# name: Run tests in containers | |
# runs-on: ubuntu-22.04 | |
# strategy: | |
# matrix: | |
# image: [ "debian:12", "alpine:3.18" ] | |
# container: | |
# image: ${{ matrix.image }} | |
# steps: | |
# - name: Checkout repo | |
# uses: actions/checkout@v4 | |
# - name: Add bash to alpine | |
# if: ${{ contains(matrix.image, 'alpine') }} | |
# run: apk add bash | |
# - name: Run tests | |
# # env: | |
# # SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }} | |
# run: bash ./scripts/run_tests.sh |