Skip to content

Commit

Permalink
Merge pull request #86 from eager-dev/jelledouwe-patch-1
Browse files Browse the repository at this point in the history
ci: fix semantic release version
  • Loading branch information
jelledouwe committed Jul 25, 2023
2 parents f5da620 + 4d999ad commit f837264
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ jobs:
#----------------------------------------------
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry run pip install setuptools==65.5.0 wheel==0.37.1
poetry run pip install gym==0.21.0
poetry install --no-interaction --no-root
run: poetry install --no-interaction --no-root
#----------------------------------------------
# install your root project, if required
#----------------------------------------------
Expand All @@ -76,18 +73,6 @@ jobs:
run: |
make lint
#----------------------------------------------
# ----- install & configure ROS -----
#----------------------------------------------
- name: install ROS
run: |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt install ros-noetic-ros-base
echo "source /opt/ros/noetic/setup.bash" >> .venv/bin/activate
sudo apt-get install ros-noetic-cv-bridge
#----------------------------------------------
# ----- install virtual display -----
#----------------------------------------------
- name: "Install Linux VirtualDisplay"
Expand All @@ -110,8 +95,7 @@ jobs:
#----------------------------------------------
- name: Run tests
run: |
source .venv/bin/activate
make pytest
poetry run make pytest
release:
needs: test
# https://github.community/t/how-do-i-specify-job-dependency-running-in-another-workflow/16482
Expand All @@ -134,7 +118,7 @@ jobs:
#-----------------------------------------------
- name: Semantic Release
run: |
pip install python-semantic-release
pip install python-semantic-release==7.34.6
git config --global user.name "github-actions"
git config --global user.email "action@github.com"
semantic-release publish -D commit_author="github-actions <action@github.com>"
Expand Down

0 comments on commit f837264

Please sign in to comment.