Skip to content

Commit

Permalink
Not running docs test on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-chambers committed Jun 3, 2024
1 parent 8490757 commit 53f3146
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc-deployment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
name: Documentation Deployment

on:
# Runs on pushes targeting the default branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Build Documentation
name: Documentation Test

on: [workflow_call]

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ jobs:
tests:
uses: ./.github/workflows/test.yml
docs:
uses: ./.github/workflows/doc-test.yml
uses: ./.github/workflows/doc-test.yml
if: ${{ (github.event_name == 'pull_request' && github.head_ref != 'main') || (github.event_name == 'push' && github.ref_name != 'main') }}
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IoT Thing Swarm
![tests badge](https://github.com/NERC-CEH/iot-swarm/actions/workflows/test.yml/badge.svg)
![docs badge](https://github.com/NERC-CEH/iot-swarm/actions/workflows/doc-deployment.yml/badge.svg)
[![tests badge](https://github.com/NERC-CEH/iot-swarm/actions/workflows/test.yml/badge.svg)](https://github.com/NERC-CEH/iot-swarm/actions)
[![docs badge](https://github.com/NERC-CEH/iot-swarm/actions/workflows/doc-deployment.yml/badge.svg)](https://nerc-ceh.github.io/iot-swarm/)

This is a Python package intended to simulate a swarm of IoT device communications via MQTT, enabling stress testing of cloud infrastructure with loads close to production level. [Read the docs](https://nerc-ceh.github.io/iot-swarm/)

0 comments on commit 53f3146

Please sign in to comment.