mirror of
https://github.com/jlengrand/engine.git
synced 2026-05-08 15:51:46 +00:00
35 lines
890 B
YAML
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
|