mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
feat: adding GH action functionnal tests
This commit is contained in:
45
.github/workflows/functionnal_tests.yml
vendored
Normal file
45
.github/workflows/functionnal_tests.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
name: functionnal-tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore: [ main ]
|
||||
pull_request:
|
||||
branches-ignore: [ main ]
|
||||
|
||||
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
|
||||
# fast-tests:
|
||||
# #if: contains(!github.event.pull_request.labels.*.name, 'full-tests')
|
||||
# #needs: build
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: Run a multi-line script
|
||||
# env:
|
||||
# GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
# timeout-minutes: 30
|
||||
# run: |
|
||||
# env
|
||||
# echo "$GITHUB_CONTEXT"
|
||||
# ./helper.sh fast_tests
|
||||
full-tests:
|
||||
#if: contains(github.event.pull_request.labels.*.name, 'full-tests')
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run a multi-line script
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
timeout-minutes: 120
|
||||
run: ./helper.sh full_tests
|
||||
Reference in New Issue
Block a user