Skip to content

Commit

Permalink
Python test automation (#3)
Browse files Browse the repository at this point in the history
* Fixed workflow

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Changed .yml to .yaml

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Changed Branches

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

* Trigger

Signed-off-by: Félix Chenette-Stewart <[email protected]>

---------

Signed-off-by: Félix Chenette-Stewart <[email protected]>
  • Loading branch information
filoucool authored May 21, 2024
1 parent 81f5911 commit 134d993
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,18 @@ name: Python Tests
on:
push:
branches:
- main
- develop
- '**'
pull_request:
branches:
- main
- develop
- '**'

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
run: |
git init
git remote add origin https://github.com/${{ github.repository }}
git fetch origin +refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/pull/*
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
git checkout -b "${{ github.head_ref }}" "refs/remotes/pull/${{ github.event.pull_request.number }}/merge"
else
git checkout ${{ github.ref }}
fi
uses: actions/checkout@v2

- name: Set up Python
run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s

0 comments on commit 134d993

Please sign in to comment.