diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2864ca5..e5054da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,13 @@ -name: Test & Release +name: Release on: push: branches: - main - release - pull_request: jobs: release: - name: Test & Release + name: Release runs-on: ubuntu-latest steps: - name: Check Out Code diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..74ed049 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: Test +on: + pull_request: + +jobs: + test: + name: Test + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - 3.13 + - 3.12 + - 3.11 + - 3.10 + - 3.9 + - 3.8 + - 2.7 + + steps: + - name: Check Out Code + uses: actions/checkout@v3 + + - name: Install Npm Dependencies + run: npm ci + + - name: Test + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6dd2543..0000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -dist: focal -language: python -python: - - 3.10 - - 3.9 - - 2.7 - -cache: - directories: - - ~/.npm - -before_install: - - nvm install v14 - -install: - - npm install - -script: - - npm test - -jobs: - include: - - stage: release - deploy: - provider: script - skip_cleanup: true - script: "npm run semantic-release" - on: - all_branches: true