Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamssen/couchdb-github-action
Run CouchDB on Github Action
https://github.com/iamssen/couchdb-github-action
actions continuous-integration couchdb database
Last synced: about 1 month ago
JSON representation
Run CouchDB on Github Action
- Host: GitHub
- URL: https://github.com/iamssen/couchdb-github-action
- Owner: iamssen
- License: mit
- Created: 2020-07-15T13:11:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-10T09:21:49.000Z (3 months ago)
- Last Synced: 2024-11-09T00:34:34.775Z (about 2 months ago)
- Topics: actions, continuous-integration, couchdb, database
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CouchDB Github Action
```yaml
name: TESTon: [push]
jobs:
build:
name: Test ${{ matrix.couchdb }}
runs-on: ubuntu-latest
strategy:
matrix:
couchdb: ["3.4", "3.3", "3.2", "3.1", "2.3"]steps:
- name: Git checkout
uses: actions/checkout@v2- name: Start CouchDB
uses: iamssen/couchdb-github-action@master
with:
couchdb-version: ${{ matrix.couchdb }}- name: Test endpoint
run: |
curl -f http://127.0.0.1:5984/- name: Test auth
run: |
curl -X POST -H "Content-Type: application/json; charset=utf-8" -d '{"name": "admin", "password": "password"}' http://127.0.0.1:5984/_session
```- endpoint : `http://127.0.0.1:5984`
- auth
- name : `admin`
- password : `password`# Examples
- Github Workflow Sample
- Jest Testcase