Skip to content

Commit

Permalink
Fix CI (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
klane authored Apr 22, 2024
1 parent ea68c50 commit 0e77457
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- name: Run OSSAR
id: ossar
uses: github/ossar-action@v2
uses: github/ossar-action@v1

- name: Upload OSSAR results
if: always()
Expand All @@ -53,21 +53,15 @@ jobs:
semgrep:
name: Semgrep
runs-on: ubuntu-latest
container:
image: semgrep/semgrep

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Semgrep
uses: returntocorp/semgrep-action@v1
with:
config: >-
p/ci
p/secrets
auditOn: >-
push
pull_request
generateSarif: true
run: semgrep scan --config auto --sarif > semgrep.sarif

- name: Upload Semgrep results
if: always()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ jobs:
with:
file: ./coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

---

[![Tests](https://github.com/Rose-STL-Lab/torchTS/workflows/Tests/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3ATests)
[![Quality](https://github.com/Rose-STL-Lab/torchTS/workflows/Quality/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3AQuality)
[![Docs](https://github.com/Rose-STL-Lab/torchTS/workflows/Docs/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3ADocs)
[![Tests](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/test.yml)
[![Docs](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/docs.yml/badge.svg?branch=main)](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/docs.yml)
[![pre-commit.ci](https://results.pre-commit.ci/badge/github/Rose-STL-Lab/torchTS/main.svg)](https://results.pre-commit.ci/latest/github/Rose-STL-Lab/torchTS/main)
[![Codecov](https://img.shields.io/codecov/c/github/Rose-STL-Lab/torchTS?label=Coverage&logo=codecov)](https://app.codecov.io/gh/Rose-STL-Lab/torchTS)
[![PyPI](https://img.shields.io/pypi/v/torchts?label=PyPI&logo=python)](https://pypi.org/project/torchts)
Expand Down

0 comments on commit 0e77457

Please sign in to comment.