mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
Unit tests do not run on master push
They are only trigerred on PRs
This commit is contained in:
parent
596126f4f4
commit
b3ad5c5df9
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@ -31,9 +31,8 @@ jobs:
|
||||
|
||||
# See https://github.com/ae-utbm/sith3/wiki/GitHub-Actions#deployment-action
|
||||
script: |
|
||||
BASE_DIR="$(dirname "$(realpath "$0")")"
|
||||
export PATH="$HOME/.poetry/bin:$PATH"
|
||||
pushd $BASE_DIR
|
||||
pushd ${{secrets.SITH_PATH}}
|
||||
|
||||
VERSION_LAST=$(git rev-parse HEAD)
|
||||
git pull
|
||||
|
4
.github/workflows/unittests.yml
vendored
4
.github/workflows/unittests.yml
vendored
@ -1,8 +1,6 @@
|
||||
name: Unit Testing
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
@ -65,5 +63,3 @@ jobs:
|
||||
|
||||
- name: Check linting
|
||||
run: black --check .
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user