Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

chore: fix test setup #9

chore: fix test setup

chore: fix test setup #9

name: Test and Release
on:
push:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest
release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_RELEASE_CHECK }}