mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Merge pull request #443 from ae-utbm/actions
Unit tests do not run on master push
This commit is contained in:
commit
4146c4c5cb
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
|
# See https://github.com/ae-utbm/sith3/wiki/GitHub-Actions#deployment-action
|
||||||
script: |
|
script: |
|
||||||
BASE_DIR="$(dirname "$(realpath "$0")")"
|
|
||||||
export PATH="$HOME/.poetry/bin:$PATH"
|
export PATH="$HOME/.poetry/bin:$PATH"
|
||||||
pushd $BASE_DIR
|
pushd ${{secrets.SITH_PATH}}
|
||||||
|
|
||||||
VERSION_LAST=$(git rev-parse HEAD)
|
VERSION_LAST=$(git rev-parse HEAD)
|
||||||
git pull
|
git pull
|
||||||
|
6
.github/workflows/unittests.yml
vendored
6
.github/workflows/unittests.yml
vendored
@ -1,8 +1,6 @@
|
|||||||
name: Unit Testing
|
name: Unit Testing
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
@ -64,6 +62,4 @@ jobs:
|
|||||||
python -m pip install black==22.6.0
|
python -m pip install black==22.6.0
|
||||||
|
|
||||||
- name: Check linting
|
- name: Check linting
|
||||||
run: black --check .
|
run: black --check .
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user