Skip to content

Commit

Permalink
test: revised PYTHONPATH and switch to codfish semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Mar 5, 2024
1 parent 8ba97a8 commit 8eb6d42
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: pip install -r requirements.txt

- name: Set PYTHONPATH to subdirectory sdcat
run: echo "PYTHONPATH=sdcat" >> $GITHUB_ENV
run: echo "PYTHONPATH=." >> $GITHUB_ENV

- name: Run pytest
run: pytest
28 changes: 13 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,18 @@ jobs:
runs-on: ubuntu-latest
name: Runs semantic release
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3

- uses: codfish/[email protected]
id: semantic
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm install commitizen @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/exec @semantic-release/changelog @semantic-release/npm @semantic-release/git
- name: Release
dry-run: false
branches: |
['main']
additional-packages: |
['@semantic-release/git']
plugins: |
['@semantic-release/git', '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/github', '@semantic-release/git']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: 000000000000000
GIT_AUTHOR_NAME: danellecline
GIT_COMMITTER_NAME: danellecline
run: npx semantic-release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: 000000000000000

0 comments on commit 8eb6d42

Please sign in to comment.