Files
engine/.github/workflows/functionnal_tests_dev.yml

35 lines
890 B
YAML

name: functionnal-tests
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
functionnal-tests:
runs-on: ubuntu-latest
needs: build
env:
GITLAB_PROJECT_ID: ${{ secrets.GITLAB_PROJECT_ID }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
GITLAB_PERSONAL_TOKEN: ${{ secrets.GITLAB_PERSONAL_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Run a multi-line script
timeout-minutes: 60
run: |
branch=$(echo ${{github.ref}} | sed -r 's/.+\/(.+)/\1/')
echo "Branch name: $branch"
export GITHUB_BRANCH=$branch
./helper.sh full_tests